Re: [PATCH 09/14] block: Relocate integrity flags

2014-07-03 Thread Sagi Grimberg
On 5/29/2014 6:28 AM, Martin K. Petersen wrote: Move flags affecting the integrity code out of the bio bi_flags and into the block integrity payload. Signed-off-by: Martin K. Petersen --- block/bio-integrity.c | 4 ++-- drivers/scsi/sd_dif.c | 4 ++-- include/linux/bio.h | 2

Re: [PATCH 09/14] block: Relocate integrity flags

2014-06-11 Thread Martin K. Petersen
> "Christoph" == Christoph Hellwig writes: Christoph> On Wed, May 28, 2014 at 11:28:43PM -0400, Martin K. Petersen wrote: >> Move flags affecting the integrity code out of the bio bi_flags and >> into the block integrity payload. Christoph> It seems like bip is guaranteed to be non-NULL in a

Re: [PATCH 09/14] block: Relocate integrity flags

2014-06-11 Thread Christoph Hellwig
On Wed, May 28, 2014 at 11:28:43PM -0400, Martin K. Petersen wrote: > Move flags affecting the integrity code out of the bio bi_flags and into > the block integrity payload. It seems like bip is guaranteed to be non-NULL in all callers of the getters and setters. I'd recommend just dropping them

[PATCH 09/14] block: Relocate integrity flags

2014-05-28 Thread Martin K. Petersen
Move flags affecting the integrity code out of the bio bi_flags and into the block integrity payload. Signed-off-by: Martin K. Petersen --- block/bio-integrity.c | 4 ++-- drivers/scsi/sd_dif.c | 4 ++-- include/linux/bio.h | 27 ++- include/linux/blk_type