Skip to content

Integrity cleanups and optimization

Jens Axboe dm-devel linux-block 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3block/integrity: make profile optionalblock/blk-integrity.c block/blk-mq.c+6 -263 replies
2/3block/integrity: flag the queue if it has an integrity profileblock/blk-integrity.c include/linux/blkdev.h+10 -53 replies
3/3block: only call bio_integrity_prep() if necessaryblock/blk-mq.c+2 -12 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCHSET 0/3] Integrity cleanups and optimization

Hi,

1 gets rid of the dummy nop profile, 2 marks the queue as having an actual profile, and 3 avoids calling into bio_integrity_prep() if we don't have a profile. This both reduces code (getting rid of the nop profile) and reduces the overhead of the standard setup of having integrity enabled in kconfig, yet not using a device with an integrity profile.

 block/blk-integrity.c  | 38 ++++++++++----------------------------
 block/blk-mq.c         | 11 +++++++----
 include/linux/blkdev.h |  1 +
 3 files changed, 18 insertions(+), 32 deletions(-)
Signature · 1 line
Jens Axboe