Integrity cleanups and optimization
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | block/integrity: make profile optionalblock/ block/ | +6 | 3 replies | |
| 2/3 | block/integrity: flag the queue if it has an integrity profileblock/ include/ | +10 | 3 replies | |
| 3/3 | block: only call bio_integrity_prep() if necessaryblock/ | +2 | 2 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Christoph Hellwig |
|---|---|
| 1/3 | R-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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