[Ocfs2-devel] [PATCH v2 06/14] jbd2: replace ll_rw_block()
Theodore Ts'o
tytso at mit.edu
Mon Sep 5 08:23:24 UTC 2022
On Thu, Sep 01, 2022 at 09:34:57PM +0800, Zhang Yi wrote:
> ll_rw_block() is not safe for the sync read path because it cannot
> guarantee that submitting read IO if the buffer has been locked. We
> could get false positive EIO after wait_on_buffer() if the buffer has
> been locked by others. So stop using ll_rw_block() in
> journal_get_superblock(). We also switch to new bh_readahead_batch()
> for the buffer array readahead path.
>
> Signed-off-by: Zhang Yi <yi.zhang at huawei.com>
Thanks, looks good.
Reviewed-by: Theodore Ts'o <tytso at mit.edu>
- Ted
More information about the Ocfs2-devel
mailing list