diff options
author | Lai Siyao <[email protected]> | 2017-01-28 19:04:53 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-02-03 13:01:37 +0100 |
commit | e27bcd66cb84b67a1231e5c6245673826673b66d (patch) | |
tree | bd5bb0a4080fee79ee3c506eae241379ee5e5f82 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | e39cb21b33dbacd8ad25e926fd9159da175833c2 (diff) |
staging: lustre: llite: normal user can't set FS default stripe
Current client doesn't check permission before updating filesystem
default stripe on MGS, which isn't secure and obvious.
Since we setattr on MDS first, and then set default stripe on MGS,
we can just return error upon setattr failure.
Now filesystem default stripe is stored in ROOT in MDT, so saving
it in system config is for compatibility with old servers, this
will be removed in the future.
Signed-off-by: Lai Siyao <[email protected]>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8454
Reviewed-on: http://review.whamcloud.com/21612
Reviewed-on: http://review.whamcloud.com/22580
Reviewed-by: Jian Yu <[email protected]>
Reviewed-by: Bobi Jam <[email protected]>
Reviewed-by: Andreas Dilger <[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/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions