Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1616620
| From | Hannes Reinecke <hare@suse.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 5/9] bio-integrity: fold bio_integrity_enabled to bio_integrity_prep |
| Date | 2017-04-05 08:40 +0200 |
| Message-ID | <tsMLN-7sG-31@gated-at.bofh.it> (permalink) |
| References | <tsBQl-hL-3@gated-at.bofh.it> <tsBQm-hL-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 04/04/2017 08:56 PM, Dmitry Monakhov wrote: > Currently all integrity prep hooks are open-coded, and if prepare fails > we ignore it's code and fail bio with EIO. Let's return real error to > upper layer, so later caller may react accordingly. > > In fact no one want to use bio_integrity_prep() w/o bio_integrity_enabled, > so it is reasonable to fold it in to one function. > > Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org> > --- > Documentation/block/data-integrity.txt | 3 -- > block/bio-integrity.c | 88 ++++++++++++++++++---------------- > block/blk-core.c | 5 +- > block/blk-mq.c | 8 +--- > drivers/nvdimm/blk.c | 13 +---- > drivers/nvdimm/btt.c | 13 +---- > include/linux/bio.h | 6 --- > 7 files changed, 55 insertions(+), 81 deletions(-) > Reviewed-by: Hannes Reinecke <hare@suse.com> Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@suse.de +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/9] block: T10/DIF Fixes and cleanups v3 Dmitry Monakhov <dmonakhov@openvz.org> - 2017-04-04 21:00 +0200
[PATCH 4/9] bio-integrity: fix interface for bio_integrity_trim v2 Dmitry Monakhov <dmonakhov@openvz.org> - 2017-04-04 21:00 +0200
Re: [PATCH 4/9] bio-integrity: fix interface for bio_integrity_trim v2 Hannes Reinecke <hare@suse.de> - 2017-04-05 08:40 +0200
Re: [PATCH 4/9] bio-integrity: fix interface for bio_integrity_trim v2 Christoph Hellwig <hch@infradead.org> - 2017-04-06 13:40 +0200
[PATCH 8/9] bio: add bvec_iter rewind API Dmitry Monakhov <dmonakhov@openvz.org> - 2017-04-04 21:00 +0200
Re: [PATCH 8/9] bio: add bvec_iter rewind API Christoph Hellwig <hch@infradead.org> - 2017-04-06 13:50 +0200
[PATCH 2/9] bio-integrity: bio_trim should truncate integrity vector accordingly Dmitry Monakhov <dmonakhov@openvz.org> - 2017-04-04 21:00 +0200
Re: [PATCH 2/9] bio-integrity: bio_trim should truncate integrity vector accordingly Hannes Reinecke <hare@suse.de> - 2017-04-05 08:40 +0200
[PATCH 6/9] T10: Move opencoded contants to common header Dmitry Monakhov <dmonakhov@openvz.org> - 2017-04-04 21:00 +0200
Re: [PATCH 6/9] T10: Move opencoded contants to common header Hannes Reinecke <hare@suse.de> - 2017-04-05 08:40 +0200
Re: [PATCH 6/9] T10: Move opencoded contants to common header Christoph Hellwig <hch@infradead.org> - 2017-04-06 13:50 +0200
[PATCH 1/9] bio-integrity: Do not allocate integrity context for bio w/o data Dmitry Monakhov <dmonakhov@openvz.org> - 2017-04-04 21:00 +0200
[PATCH 5/9] bio-integrity: fold bio_integrity_enabled to bio_integrity_prep Dmitry Monakhov <dmonakhov@openvz.org> - 2017-04-04 21:00 +0200
Re: [PATCH 5/9] bio-integrity: fold bio_integrity_enabled to bio_integrity_prep Hannes Reinecke <hare@suse.de> - 2017-04-05 08:40 +0200
Re: [PATCH 5/9] bio-integrity: fold bio_integrity_enabled to bio_integrity_prep Christoph Hellwig <hch@infradead.org> - 2017-04-06 13:50 +0200
[PATCH 9/9] bio-integrity: Restore original iterator on verify stage Dmitry Monakhov <dmonakhov@openvz.org> - 2017-04-04 21:00 +0200
Re: [PATCH 9/9] bio-integrity: Restore original iterator on verify stage Christoph Hellwig <hch@infradead.org> - 2017-04-06 13:50 +0200
[PATCH 3/9] bio-integrity: bio_integrity_advance must update integrity seed Dmitry Monakhov <dmonakhov@openvz.org> - 2017-04-04 21:00 +0200
Re: [PATCH 3/9] bio-integrity: bio_integrity_advance must update integrity seed Hannes Reinecke <hare@suse.de> - 2017-04-05 08:40 +0200
Re: [PATCH 3/9] bio-integrity: bio_integrity_advance must update integrity seed Christoph Hellwig <hch@infradead.org> - 2017-04-06 13:40 +0200
csiph-web