Skip to content

block: zero non-PI portion of auto integrity buffer

Caleb Sander Mateos linux-block lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 11 repliesApplied

Changes in v2 from the cover letter

- Clarify commit message (Christoph)
- Split gfp_t cleanup into separate patch (Christoph)
- Add patch simplifying bi_offload_capable()
- Add Reviewed-by tag

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3block: zero non-PI portion of auto integrity bufferblock/bio-integrity-auto.c+1 -11 reply
2/3block: replace gfp_t with bool in bio_integrity_prep()block/bio-integrity-auto.c+6 -52 replies
3/3block: use pi_tuple_size in bi_offload_capable()block/bio-integrity-auto.c+1 -132 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAnuj GuptaMartin K. PetersenChristoph Hellwig
SeriesR-b
1/3R-b R-b
2/3R-b R-b
3/3R-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 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/3] block: zero non-PI portion of auto integrity buffer

For block devices capable of storing "opaque" metadata in addition to protection information, ensure the opaque bytes are initialized by the block layer's auto integrity generation. Otherwise, the contents of kernel memory can be leaked via the storage device.
Two follow-on patches simplify the bio_integrity_prep() code a bit.

v2:
- Clarify commit message (Christoph)
- Split gfp_t cleanup into separate patch (Christoph)
- Add patch simplifying bi_offload_capable()
- Add Reviewed-by tag

Caleb Sander Mateos (3):
block: zero non-PI portion of auto integrity buffer
block: replace gfp_t with bool in bio_integrity_prep()
block: use pi_tuple_size in bi_offload_capable()

 block/bio-integrity-auto.c | 25 +++++++------------------
 1 file changed, 7 insertions(+), 18 deletions(-)
Signature · 1 line
2.45.2