Block integrity with flexible-offset PI
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 12 repliesApplied
- v13 patches 8 repliesSuperseded
Changes in v2 from the cover letter
- Reworded commit messsage in patch 2 and 3 (hch)
- Variable initialization order change (hch)
- Collect reviewed-by
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | block: refactor guard helpersblock/ | +10 | 0 replies | |
| 2/3 | block: support PI at non-zero offset within metadatablock/ block/ block/ +2 more | +42 | 10 replies | |
| 3/3 | nvme: allow integrity when PI is not in first bytesdrivers/ drivers/ | +8 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Sagi Grimberg | Christoph Hellwig | Keith Busch | Martin K. Petersen |
|---|---|---|---|---|
| 1/3 | R-b | R-b | R-b | R-b |
| 2/3 | R-b | R-b | ||
| 3/3 | R-b | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v2 0/3] Block integrity with flexible-offset PI
The block integrity subsystem can only work with PI placed in the first bytes of the metadata buffer.
The series makes block-integrity support the flexible placement of PI. And changes NVMe driver to make use of the new capability.
This helps to
(i) enable the more common case for NVMe (PI in last bytes is the norm) (ii) reduce nop profile users (tried by Jens recently [1]).
/* For NS 4K+16b, 8b PI, last bytes */
Before:
# cat /sys/block/nvme0n1/integrity/format nop
After:
# cat /sys/block/nvme0n1/integrity/format T10-DIF-TYPE1-CRC
Changes since v1:
- Reworded commit messsage in patch 2 and 3 (hch)
- Variable initialization order change (hch)
- Collect reviewed-by
[1] https://lore.kernel.org/linux-block/[email protected]/
Kanchan Joshi (3):
block: refactor guard helpers
block: support PI at non-zero offset within metadata
nvme: allow integrity when PI is not in first bytes
block/bio-integrity.c | 1 + block/blk-integrity.c | 1 + block/t10-pi.c | 72 +++++++++++++++++++++++------------ drivers/nvme/host/core.c | 8 +++- drivers/nvme/host/nvme.h | 1 + include/linux/blk-integrity.h | 1 + include/linux/blkdev.h | 1 + 7 files changed, 60 insertions(+), 25 deletions(-)
Signature · 1 line
2.25.1