Re: [PATCH 1/1] null_blk: allow user to set QUEUE_FLAG_NOWAIT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/18/23 04:41, Pankaj Raghav wrote:
>
> This is not correct. You need to use radix_tree_maybe_preload because
> GFP_NOWAIT should not block and this WARN_ON_ONCE flag will trigger in
> radix_tree_preload:
>
> /* Warn on non-sensical use... */
> WARN_ON_ONCE(!gfpflags_allow_blocking(gfp_mask));
>
> I also verified this locally with your patch and while doing a simple fio
> write with setting memory_backed=1.
>
>

plz share the exact fio job you have used to generate this error,
I need add that to the patch testlog.

-ck






[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux