[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq1zgrn5nyk.fsf@ca-mkp.ca.oracle.com>
Date: Tue, 05 Oct 2021 14:26:34 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: "Michael S. Tsirkin" <mst@...hat.com>
Cc: Xie Yongji <xieyongji@...edance.com>, jasowang@...hat.com,
stefanha@...hat.com, virtualization@...ts.linux-foundation.org,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
Kevin Wolf <kwolf@...hat.com>, Christoph Hellwig <hch@....de>,
Jens Axboe <axboe@...nel.dk>
Subject: Re: [PATCH v5] virtio-blk: Add validation for block size in config
space
Michael,
> Would it be acceptable for blk layer to validate the input instead of
> having each driver do it's own thing? Maybe inside
> blk_queue_logical_block_size?
I think that would be fine. I believe we had some patches floating
around a few years ago attempting to make that change.
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists