summaryrefslogtreecommitdiffstats
path: root/fs/ext4/balloc.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2020-07-15 17:48:55 +0200
committerTheodore Ts'o <tytso@mit.edu>2020-08-07 20:12:35 +0200
commitab74c7b23f3770935016e3eb3ecdf1e42b73efaa (patch)
treee84a3eb7db2f6df1a67dd870328856d5bec81de1 /fs/ext4/balloc.c
parentjbd2: remove unused parameter in jbd2_journal_try_to_free_buffers() (diff)
downloadlinux-ab74c7b23f3770935016e3eb3ecdf1e42b73efaa.tar.xz
linux-ab74c7b23f3770935016e3eb3ecdf1e42b73efaa.zip
ext4: indicate via a block bitmap read is prefetched via a tracepoint
Modify the ext4_read_block_bitmap_load tracepoint so that it tells us whether a block bitmap is being prefetched. Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Artem Blagodarenko <artem.blagodarenko@gmail.com>
Diffstat (limited to 'fs/ext4/balloc.c')
-rw-r--r--fs/ext4/balloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/balloc.c b/fs/ext4/balloc.c
index 1e2b1b4093aa..48c3df47748d 100644
--- a/fs/ext4/balloc.c
+++ b/fs/ext4/balloc.c
@@ -494,7 +494,7 @@ ext4_read_block_bitmap_nowait(struct super_block *sb, ext4_group_t block_group,
* submit the buffer_head for reading
*/
set_buffer_new(bh);
- trace_ext4_read_block_bitmap_load(sb, block_group);
+ trace_ext4_read_block_bitmap_load(sb, block_group, ignore_locked);
bh->b_end_io = ext4_end_bitmap_read;
get_bh(bh);
submit_bh(REQ_OP_READ, REQ_META | REQ_PRIO |