Re: [PATCH] exfat: call bh_read in get_block only when necessary

From: Namjae Jeon
Date: Sat Mar 29 2025 - 09:13:06 EST


On Thu, Mar 27, 2025 at 12:01 AM Sungjong Seo <sj1557.seo@xxxxxxxxxxx> wrote:
>
> With commit 11a347fb6cef ("exfat: change to get file size from DataLength"),
> exfat_get_block() can now handle valid_size. However, most partial
> unwritten blocks that could be mapped with other blocks are being
> inefficiently processed separately as individual blocks.
>
> Except for partial unwritten blocks that require independent processing,
> let's handle them simply as before.
>
> Signed-off-by: Sungjong Seo <sj1557.seo@xxxxxxxxxxx>
Applied it to dev with Yuezhang's reviewed-by tag.
Thanks!