block for-7.1/integrity rebase for mem alignment
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest2 patches 7 repliesApplied
- v7 posting 2/21 patch 1 replyApplied
- v7 posting 1/21 patch 4 repliesSuperseded
Earlier versions · 5
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v6 | 1 patch | 10 replies | Superseded | |
| v4 | 1 patch | 10 replies | Superseded | |
| v3 | 1 patch | 3 replies | Superseded | |
| v2 | 1 patch | 3 replies | Superseded | |
| v1 RFC | 1 patch | 5 replies | Superseded |
Patches in v8 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | blk-integrity: support arbitrary buffer alignmentblock/ block/ drivers/ +1 more | +465 | 0 replies | |
| 2/2 | ublk: report BLK_SPLIT_INTERVAL_CAPABLEdrivers/ | +1 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Ming Lei | Keith Busch | Martin K. Petersen | Christoph Hellwig |
|---|---|---|---|---|
| 1/2 | R-b | R-b | ||
| 2/2 | 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 [PATCHv8 0/2] block for-7.1/integrity rebase for mem alignment
From: Keith Busch <[email protected]>
This is the rebased version of the flexible t10 alignment feature on top of block's for-7.1/block-integrity branch to apply atop Christoph's fs-integrity:
https://lore.kernel.org/linux-block/[email protected]/
The only change from the previous version is to incorporate the function name changes and verify's status code return type that were introduced in the file system integrity support patch set.
I've also included the ublk support for this feature since it was previously accepted and has a dependency on patch 1.
For reference, here is the resulting diff from the previous version's implementation before fs-integrity to this new one after fs support:
---
t10-pi.c renamed from t10-pi.c.orig +8 -7
@@ -304,7 +304,8 @@return ret; } -static void blk_integrity_iterate (struct bio *bio,struct bvec_iter *data_iter, +static blk_status_t blk_integrity_iterate (struct bio *bio, +struct bvec_iter *data_iter,bool verify) {struct blk_integrity *bi =blk_get_integrity (bio->bi_bdev->bd_disk);
@@ -342,11 +343,10 @@kunmap_local (kaddr); } -if (ret) - bio->bi_status = ret; +return ret; } -void blk_integrity_generate (struct bio *bio) +void bio_integrity_generate (struct bio *bio) {struct blk_integrity *bi =blk_get_integrity (bio->bi_bdev->bd_disk);
@@ -361,7 +361,7 @@ } } -void blk_integrity_verify_iter (struct bio *bio,struct bvec_iter *saved_iter) +blk_status_t bio_integrity_verify (struct bio *bio,struct bvec_iter *saved_iter) {struct blk_integrity *bi =blk_get_integrity (bio->bi_bdev->bd_disk);
@@ -369,11 +369,12 @@case BLK_INTEGRITY_CSUM_CRC64 :case BLK_INTEGRITY_CSUM_CRC :case BLK_INTEGRITY_CSUM_IP : -blk_integrity_iterate (bio, saved_iter, true); -break ; +return blk_integrity_iterate (bio, saved_iter, true);default :break ; } + +return BLK_STS_OK ; }/*
--
Caleb Sander Mateos (1):
ublk: report BLK_SPLIT_INTERVAL_CAPABLE
Keith Busch (1):
blk-integrity: support arbitrary buffer alignment
block/blk-settings.c | 12 +- block/t10-pi.c | 816 +++++++++++++++++++--------------- drivers/block/ublk_drv.c | 2 +- drivers/nvme/host/core.c | 1 + include/linux/blk-integrity.h | 1 + 5 files changed, 466 insertions(+), 366 deletions(-)
Signature · 1 line
2.52.0