Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1423461 > unrolled thread

Re: [PATCH V2] block: correctly fallback for zeroout

Started bySitsofe Wheeler <sitsofe@gmail.com>
First post2016-06-15 23:30 +0200
Last post2016-06-15 23:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH V2] block: correctly fallback for zeroout Sitsofe Wheeler <sitsofe@gmail.com> - 2016-06-15 23:30 +0200

#1423461 — Re: [PATCH V2] block: correctly fallback for zeroout

FromSitsofe Wheeler <sitsofe@gmail.com>
Date2016-06-15 23:30 +0200
SubjectRe: [PATCH V2] block: correctly fallback for zeroout
Message-ID<rKqxP-7NH-11@gated-at.bofh.it>
On Tue, Jun 07, 2016 at 07:58:25AM -0700, Shaohua Li wrote:
>
> I didn't follow. io_err is only and always set when ret == 0. io_err is
> meanless if ret != 0, because that means the disk doesn't support discard and
> we don't dispatch discard IO. why should we initialized io_err to 0?

My mistake - I confused what !ret would mean.

Unfortunately the V2 patch no longer cleanly applies to the latest
kernel (db06d759d6cf903aeda8c107fd3abd366dd80200 ) so I can't easily
test it there.

-- 
Sitsofe | http://sucs.org/~sits/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web