diff options
| author | Christoph Hellwig <hch@lst.de> | 2026-08-04 05:39:24 -0700 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-08-04 07:22:27 -0600 |
| commit | 738f01912a1ad68c81a6aed06cac94e09b5f609d (patch) | |
| tree | f295c93e7cfbbe61601b68b4dbfe25d7562ce705 /include/linux | |
| parent | 6c13180dba60f835d6909e2a3b4f50862de156c6 (diff) | |
block: lift BIP_CHECK_FLAGS to include/linux/bio-integrity.h
To allow for users outside of bio-integrity-auto.c. Also add a little
comment explaining it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Anuj Gupta <anuj20.g@samsung.com>
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Link: https://patch.msgid.link/20260804123928.736596-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/bio-integrity.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/bio-integrity.h b/include/linux/bio-integrity.h index c3dda32fd803..0ea2a8bf7efb 100644 --- a/include/linux/bio-integrity.h +++ b/include/linux/bio-integrity.h @@ -17,6 +17,9 @@ enum bip_flags { BIP_MEMPOOL = 1 << 15, /* buffer backed by mempool */ }; +/* flags that require generate/verify action. */ +#define BIP_CHECK_FLAGS (BIP_CHECK_GUARD | BIP_CHECK_REFTAG | BIP_CHECK_APPTAG) + struct bio_integrity_payload { struct bvec_iter bip_iter; |
