[PATCH v2 2/2] block: Correctly initialize BLK_INTEGRITY_NOGENERATE and BLK_INTEGRITY_NOVERIFY
Christoph Hellwig
hch at lst.de
Mon Mar 3 06:11:26 PST 2025
On Wed, Feb 26, 2025 at 04:50:35PM +0530, Anuj Gupta wrote:
> Currently, BLK_INTEGRITY_NOGENERATE and BLK_INTEGRITY_NOVERIFY are not
> explicitly set during integrity initialization. This can lead to incorrect
> reporting of read_verify and write_generate sysfs values, particularly when
> a device does not support integrity. This patch ensures that these flags
> are correctly initialized by default.
You don't need to stay "this patch" in a commit log, just state what
it is doing. Also please wrap commit log lines at 73 characters.
The code changes themselves here look good.
More information about the Linux-nvme
mailing list