diff options
author | Jinyoung Choi <[email protected]> | 2023-08-03 11:52:02 +0900 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-08-09 16:05:35 -0600 |
commit | 0ece1d649b6dd615925a72bc1824d6b9fa5b998a (patch) | |
tree | 16a9635eb7f496c9d5a060dff83ab2ce833e1e30 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | d1f04c2e23c99258049c6081c3147bae69e5bcb8 (diff) |
bio-integrity: create multi-page bvecs in bio_integrity_add_page()
In general, the bvec data structure consists of one for physically
continuous pages. But, in the bvec configuration for bip, physically
continuous integrity pages are composed of each bvec.
Allow bio_integrity_add_page() to create multi-page bvecs, just like
the bio payloads. This simplifies adding larger payloads, and fixes
support for non-tiny workloads with nvme, which stopped using
scatterlist for metadata a while ago.
Cc: Christoph Hellwig <[email protected]>
Cc: Martin K. Petersen <[email protected]>
Fixes: 783b94bd9250 ("nvme-pci: do not build a scatterlist to map metadata")
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jinyoung Choi <[email protected]>
Tested-by: "Martin K. Petersen" <[email protected]>
Reviewed-by: "Martin K. Petersen" <[email protected]>
Link: https://lore.kernel.org/r/20230803025202epcms2p82f57cbfe32195da38c776377b55aed59@epcms2p8
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions