aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorLi Dongyang <[email protected]>2016-12-02 19:53:18 -0500
committerGreg Kroah-Hartman <[email protected]>2016-12-06 10:47:55 +0100
commitb4f840c15ac78eb3d096eb3267776393b28c789f (patch)
treed8980a6ff5d2f3e9d1a6af9f45b2aacd8c0f3e8e /tools/perf/scripts/python/call-graph-from-postgresql.py
parent2ba88d4e100d5b1441dfa9a5e03f665b8bc676bc (diff)
staging: lustre: mdt: fail FMODE_WRITE open if the client is read only
O_WRONLY/O_RDWR open on a file will get EROFS on a read only client, but the rpc gets sent to the mdt anyway. mdt will increase the mot_write_count of the mdt object, blocking subsequent FMODE_EXEC open to the same file. This patch makes sure we fail the FMODE_WRITE open with EROFS on the client straight away without sending the rpc to mdt. Signed-off-by: Li Dongyang <[email protected]> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7727 Reviewed-on: http://review.whamcloud.com/18242 Reviewed-by: Ian Costello <[email protected]> Reviewed-by: Nathaniel Clark <[email protected]> Reviewed-by: Yang Sheng <[email protected]> Reviewed-by: Oleg Drokin <[email protected]> Signed-off-by: James Simmons <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions