diff options
| author | Josh Triplett <[email protected]> | 2022-08-01 03:24:53 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2022-09-29 14:38:57 +0000 |
| commit | 426d15ad11419066f7042ffa8fbf1b5c21a1ecbe (patch) | |
| tree | 6bdccb56012dd80329bd0dabe76ff12994ad3463 /fs/jbd2/commit.c | |
| parent | ext4: remove deprecated noacl/nouser_xattr options (diff) | |
| download | kernel-426d15ad11419066f7042ffa8fbf1b5c21a1ecbe.tar.gz kernel-426d15ad11419066f7042ffa8fbf1b5c21a1ecbe.zip | |
ext4: don't run ext4lazyinit for read-only filesystems
On a read-only filesystem, we won't invoke the block allocator, so we
don't need to prefetch the block bitmaps.
This avoids starting and running the ext4lazyinit thread at all on a
system with no read-write ext4 filesystems (for instance, a container VM
with read-only filesystems underneath an overlayfs).
Fixes: 21175ca434c5 ("ext4: make prefetch_block_bitmaps default")
Signed-off-by: Josh Triplett <[email protected]>
Reviewed-by: Lukas Czerner <[email protected]>
Link: https://lore.kernel.org/r/48b41da1498fcac3287e2e06b660680646c1c050.1659323972.git.josh@joshtriplett.org
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
