Re: [PATCH v2 6/8] fs/ext4: use sleeping version of __find_get_block()

Davidlohr Bueso
2025-04-10T17:48:42Z

On Thu, 10 Apr 2025, Jan Kara wrote:

>> @@ -860,6 +860,8 @@ struct buffer_head *ext4_getblk(handle_t *handle, struct inode *inode,
>> return sb_find_get_block(inode->i_sb, map.m_pblk);
>>
>> /*
>> + * Potential TODO: use sb_find_get_block_nonatomic() instead.
>> + *
>
>Yes, please. Since we are behind nowait check, we are fine with blocking...

Yes, I will send a follow up that replaces that getblk_unmovable() with
sb_find_get_block_nonatomic().