[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq1h91jpzyn.fsf@oracle.com>
Date: Wed, 19 Apr 2017 22:36:32 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Dmitry Monakhov <dmonakhov@...nvz.org>
Cc: linux-kernel@...r.kernel.org, linux-block@...r.kernel.org,
martin.petersen@...cle.com
Subject: Re: [PATCH 3/9] bio-integrity: bio_integrity_advance must update integrity seed
Dmitry Monakhov <dmonakhov@...nvz.org> writes:
> SCSI drivers do care about bip_seed so we must update it accordingly.
> + bip->bip_iter.bi_sector += bytes_done >> 9;
This needs to count protection intervals. Otherwise things will break
for block sizes different from 512 bytes.
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists