[PATCH v3 07/10] block: introduce BIP_CHECK_GUARD/REFTAG/APPTAG bip_flags
Christoph Hellwig
hch at lst.de
Sat Aug 24 01:35:53 PDT 2024
This patch came in twice, once with a "block" and once with a
"block,nvme" prefix. One should be fine, and I think just block is
the right one.
How do we communicate what flags can be combined to the upper layer
and userspace given the SCSI limitations here?
> --- a/include/linux/bio-integrity.h
> +++ b/include/linux/bio-integrity.h
> @@ -11,6 +11,9 @@ enum bip_flags {
> BIP_DISK_NOCHECK = 1 << 3, /* disable disk integrity checking */
> BIP_IP_CHECKSUM = 1 << 4, /* IP checksum */
> BIP_COPY_USER = 1 << 5, /* Kernel bounce buffer in use */
> + BIP_CHECK_GUARD = 1 << 6,
> + BIP_CHECK_REFTAG = 1 << 7,
> + BIP_CHECK_APPTAG = 1 << 8,
Maybe describe the flags here like the other ones?
More information about the Linux-nvme
mailing list