Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1422492
| From | "Martin K. Petersen" <martin.petersen@oracle.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH V2] block: correctly fallback for zeroout |
| Date | 2016-06-15 04:20 +0200 |
| Message-ID | <rK8AV-4PU-9@gated-at.bofh.it> (permalink) |
| References | <rHhhn-6ua-3@gated-at.bofh.it> <rIk3v-6Kf-7@gated-at.bofh.it> <rIGno-55z-29@gated-at.bofh.it> <rIGno-55z-27@gated-at.bofh.it> <rJvpT-3Ie-1@gated-at.bofh.it> |
| Organization | Oracle Corporation |
>>>>> "Christoph" == Christoph Hellwig <hch@infradead.org> writes: Christoph> We can move the sanity checks out. Or even better get rid of Christoph> the stupid behavior of ignoring the late -EOPNOTSUPP in this Christoph> low level helper and instead leaving it to the caller(s) that Christoph> care. It definitely should be a caller decision whether to ignore the return value or not. >> I am OK with your patch as a stable fix but this really needs to be >> fixed up properly. Christoph> And I'd much prefer to get this right now. It's not like Christoph> this is recently introduced behavior. Unfortunately there are quite a few callers of blkdev_issue_discard() these days. Some of them ignore the return value but not all of them. I'm concerned about causing all sorts of breakage if we suddenly start returning errors various places in the stable trees. -- Martin K. Petersen Oracle Linux Engineering
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH V2] block: correctly fallback for zeroout Christoph Hellwig <hch@infradead.org> - 2016-06-13 10:30 +0200
Re: [PATCH V2] block: correctly fallback for zeroout Mike Snitzer <snitzer@redhat.com> - 2016-06-14 20:40 +0200
Re: [PATCH V2] block: correctly fallback for zeroout "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-06-15 04:40 +0200
Re: [PATCH V2] block: correctly fallback for zeroout Mike Snitzer <snitzer@redhat.com> - 2016-06-15 04:50 +0200
Re: [PATCH V2] block: correctly fallback for zeroout "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-06-15 04:20 +0200
Re: [PATCH V2] block: correctly fallback for zeroout Sitsofe Wheeler <sitsofe@gmail.com> - 2016-06-15 23:30 +0200
csiph-web