Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1616622
| From | Hannes Reinecke <hare@suse.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 3/9] bio-integrity: bio_integrity_advance must update integrity seed |
| Date | 2017-04-05 08:40 +0200 |
| Message-ID | <tsMLN-7sG-43@gated-at.bofh.it> (permalink) |
| References | <tsBQl-hL-3@gated-at.bofh.it> <tsBQm-hL-35@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 04/04/2017 08:56 PM, Dmitry Monakhov wrote: > SCSI drivers do care about bip_seed so we must update it accordingly. > > Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org> > --- > block/bio-integrity.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/block/bio-integrity.c b/block/bio-integrity.c > index b5009a8..82a6ffb 100644 > --- a/block/bio-integrity.c > +++ b/block/bio-integrity.c > @@ -425,6 +425,7 @@ void bio_integrity_advance(struct bio *bio, unsigned int bytes_done) > struct blk_integrity *bi = bdev_get_integrity(bio->bi_bdev); > unsigned bytes = bio_integrity_bytes(bi, bytes_done >> 9); > > + bip->bip_iter.bi_sector += bytes_done >> 9; > bvec_iter_advance(bip->bip_vec, &bip->bip_iter, bytes); > } > EXPORT_SYMBOL(bio_integrity_advance); > Odd that we've missed that one... 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