more integrity cleanups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jens and Martin,

this series has more cleanups to the block layer integrity code.
It splits the bio integrity APIs into their own header as they are
only used by very few source files, cleans up their stubs a little
bit, and then in the last patch change when the bio_integrity_payload
is freed when it is not owned by the block layer.  This avoids having
to know the submitter in the core code and will simplify adding other
consuer of the API like file systems or the io_uring non-passthrough
PI support.

It sits on top of the previously sumitted "integrity cleanups" series.

Diffstat:
 block/bio-integrity.c         |   56 ++++++---------
 block/bio.c                   |    2 
 block/blk-map.c               |    3 
 block/blk.h                   |    5 +
 block/bounce.c                |    2 
 drivers/md/dm.c               |    1 
 drivers/nvme/host/ioctl.c     |    1 
 drivers/scsi/sd.c             |    3 
 include/linux/bio-integrity.h |  153 ++++++++++++++++++++++++++++++++++++++++++
 include/linux/bio.h           |  152 -----------------------------------------
 include/linux/blk-integrity.h |    1 
 11 files changed, 192 insertions(+), 187 deletions(-)




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux