[PATCH 05/11] block: add a store_limit operations for sysfs entries

Christoph Hellwig hch at lst.de
Fri Jan 10 02:01:32 PST 2025


On Fri, Jan 10, 2025 at 09:56:35AM +0000, John Garry wrote:
>> +		lim->flags &= ~BLK_FLAG_IOSTATS_PASSTHROUGH;
>> +	return 0;
>>   }
>
> BTW, this function seems to duplicate queue_feature_store(), no?

That operates on lim->features using BLK_FEAT_* values, while
the quoted on operates on lim->flags and BLK_FLAG_*.




More information about the Linux-nvme mailing list