Message ID | 20230424073023.38935-1-kch@nvidia.com (mailing list archive) |
---|---|
Headers | show |
Series | block/drivers: don't clear the flag that is not set | expand |
On 23/04/24 12:30AM, Chaitanya Kulkarni wrote: >null_blk >brd >nbd >zram >bcache Any particular reason for leaving out mtip and s390 drivers ? Will it be better to use the flag similar to scsi devices and use it for random number generation ? Otherwise looks good to me. Regards, Nitesh Shetty
On 4/24/23 02:26, Nitesh Shetty wrote: > On 23/04/24 12:30AM, Chaitanya Kulkarni wrote: >> null_blk >> brd >> nbd >> zram >> bcache > > Any particular reason for leaving out mtip and s390 drivers ? > I didn't find why this flag is clear at first place, if this gets accepted I'll others gradually.. > Will it be better to use the flag similar to scsi devices and > use it for random number generation ? > I didn't understand this comment. > Otherwise looks good to me. > > Regards, > Nitesh Shetty > -ck
On Mon, Apr 24, 2023 at 10:25:34AM +0000, Chaitanya Kulkarni wrote: > On 4/24/23 02:26, Nitesh Shetty wrote: > > On 23/04/24 12:30AM, Chaitanya Kulkarni wrote: > >> null_blk > >> brd > >> nbd > >> zram > >> bcache > > > > Any particular reason for leaving out mtip and s390 drivers ? > > > > I didn't find why this flag is clear at first place, > if this gets accepted I'll others gradually.. > > > Will it be better to use the flag similar to scsi devices and > > use it for random number generation ? > > > > I didn't understand this comment. > My bad. I intended, may be we can set QUEUE_FLAG_ADD_RANDOM flag. Similar to scsi once the request completes, using function add_disc_randomness() random generator can be updated. Regards, Nitesh Shetty
On 4/24/23 1:30?AM, Chaitanya Kulkarni wrote: > Hi, > > The drivers in this patch-series tries to clear the > QUEUE_FLAG_ADD_RANDOM that is not set at all in the queue allocation > and initialization path in :- Just roll this into one, as it should be a non-functional change since we don't default to ADD_RANDOM with MQ ops. And then change the title to something meaningful, ala: block/drivers: remove dead clear of QUEUE_FLAG_ADD_RANDOM or something like that, as your title currently makes very little sense (eg it's hard to parse and it doesn't really say what is being done).