diff options
author | Bob Peterson <rpeterso@redhat.com> | 2023-06-12 20:26:23 +0300 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2023-06-12 21:04:35 +0300 |
commit | c8ed1b35931245087968fd95b2ec3dfc50f77769 (patch) | |
tree | 692ee2f38c2a74bd3f4a26e85f0a34faed3efb0d /scripts/gdb/linux/utils.py | |
parent | 7b7b06d55aeff969ffdfd1170937198f7c02b684 (diff) | |
download | linux-c8ed1b35931245087968fd95b2ec3dfc50f77769.tar.xz |
gfs2: Fix duplicate should_fault_in_pages() call
In gfs2_file_buffered_write(), we currently jump from the second call of
function should_fault_in_pages() to above the first call, so
should_fault_in_pages() is getting called twice in a row, causing it to
accidentally fall back to single-page writes rather than trying the more
efficient multi-page writes first.
Fix that by moving the retry label to the correct place, behind the
first call to should_fault_in_pages().
Fixes: e1fa9ea85ce8 ("gfs2: Stop using glock holder auto-demotion for now")
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions