[PATCH V2 2/2] nvmet: allow bdev in buffered_io mode
Chaitanya Kulkarni
chaitanyak at nvidia.com
Tue Feb 1 22:49:15 PST 2022
On 2/1/22 12:05 AM, Christoph Hellwig wrote:
> External email: Use caution opening links or attachments
>
>
> On Fri, Jan 28, 2022 at 12:51:48AM -0800, Chaitanya Kulkarni wrote:
>> + if (ns->buffered_io)
>> + return -ENOTBLK;
>
> Maybe add a comment here that we want to force a fallback to the file
> backend for buffered I/O here as this check on it's own isn't totally
> obvious.
>
> Otherwise the series looks good to me.
>
Okay will sendout a v3 with added comment, I guess had it in V1
forgot in V2.
More information about the Linux-nvme
mailing list