On 10/14/24 11:18 AM, Mark Harmstone wrote: > Adds a nowait parameter to btrfs_encoded_read, which if it is true > causes the function to return -EAGAIN rather than sleeping. Can't we just rely on kiocb->ki_flags & IOCB_NOWAIT for this? Doesn't really change the patch much, but you do avoid that extra parameter. -- Jens Axboe