summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2023-09-20 19:17:39 +0300
committerAndreas Gruenbacher <agruenba@redhat.com>2023-09-22 14:42:33 +0300
commit089f4eb003dc2265036aac99c02aa99d6b5c4ac7 (patch)
tree0a5f1579da77547642ddaa1c56c6fa5dbfbd8124 /tools/perf/scripts/python/export-to-sqlite.py
parent21d9067efc7fe94d2bc6f7c7ce71834d5766bbd8 (diff)
downloadlinux-089f4eb003dc2265036aac99c02aa99d6b5c4ac7.tar.xz
gfs2: Don't update inode timestamps for direct writes
During direct reads and writes, the caller is holding the inode glock in deferred mode, which doesn't allow metadata updates. However, a previous change caused callers to update the inode modification time before carrying out direct writes, which caused the inode glock to be converted to exclusive mode for the timestamp update, only to be immediately converted back to deferred mode for the direct write. This locks out other direct readers and writers and wreaks havoc on performance. Fix that by reverting to not updating the inode modification time for direct writes. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions