summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2020-06-17 15:47:34 +0300
committerAndreas Gruenbacher <agruenba@redhat.com>2020-07-03 13:05:34 +0300
commit7542486b89b2e321ffe0de82163b425d6a38bc72 (patch)
tree69dad92b550226ee3e77caf2b141542f8686ef8a /tools/perf/scripts/python/exported-sql-viewer.py
parent34244d711dea568f4a42c5b0d6b3d620f8cb6971 (diff)
downloadlinux-7542486b89b2e321ffe0de82163b425d6a38bc72.tar.xz
gfs2: eliminate GIF_ORDERED in favor of list_empty
In several places, we used the GIF_ORDERED inode flag to determine if an inode was on the ordered writes list. However, since we always held the sd_ordered_lock spin_lock during the manipulation, we can just as easily check list_empty(&ip->i_ordered) instead. This allows us to keep more than one ordered writes list to make journal writing improvements. This patch eliminates GIF_ORDERED in favor of checking list_empty. Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions