diff options
author | Brian Foster <[email protected]> | 2020-03-27 08:29:45 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2020-03-28 09:40:11 -0700 |
commit | 8d3d7e2b35ea7d91d6e085c93b5efecfb0fba307 (patch) | |
tree | 831353212beeca585f750c93e88a82b53736ba6e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 63337b63e7dab667bc0b4c3d468eb7e0dcf5f384 (diff) |
xfs: trylock underlying buffer on dquot flush
A dquot flush currently blocks on the buffer lock for the underlying
dquot buffer. In turn, this causes xfsaild to block rather than
continue processing other items in the meantime. Update
xfs_qm_dqflush() to trylock the buffer, similar to how inode buffers
are handled, and return -EAGAIN if the lock fails. Fix up any
callers that don't currently handle the error properly.
Signed-off-by: Brian Foster <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions