aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAbhi Das <adas@redhat.com>2023-11-10 13:10:08 +0100
committerAndreas Gruenbacher <agruenba@redhat.com>2023-12-18 14:24:33 +0100
commitdd00aaeb343255a8a30de671bd27bde79a47c8e5 (patch)
tree521dfaa2891b730c7d8260905c2bde3579102fd5 /tools/perf/scripts/python/export-to-postgresql.py
parentgfs2: Add GL_NOBLOCK flag (diff)
downloadwireguard-linux-dd00aaeb343255a8a30de671bd27bde79a47c8e5.tar.xz
wireguard-linux-dd00aaeb343255a8a30de671bd27bde79a47c8e5.zip
gfs2: Use GL_NOBLOCK flag for non-blocking lookups
Add the GL_NOBLOCK flag to the locking requests in gfs2_permission() and gfs2_drevalidate() when called with the MAY_NOT_BLOCK flag and LOOKUP_RCU flag, respectively. This will cause the locking requests to be handled without sleeping if possible. We bail out with -ECHILD if we can't grant the glock immediately. Make sure not to dget() + dput() the parent dentry in gfs2_drevalidate() in LOOKUP_RCU mode; dput() is a sleeping operation. Signed-off-by: Abhi Das <adas@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions