diff options
author | 2015-02-01 21:52:13 -0500 | |
---|---|---|
committer | 2015-02-07 17:32:33 +0800 | |
commit | 4c309612ddb9107c3fdbd5233198d59708114bc4 (patch) | |
tree | f192b5630ac257ac549d13635ca98e10c19e25fa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging/lustre/ptlrpc: hold rq_lock when modify rq_flags (diff) | |
download | wireguard-linux-4c309612ddb9107c3fdbd5233198d59708114bc4.tar.xz wireguard-linux-4c309612ddb9107c3fdbd5233198d59708114bc4.zip |
staging/lustre/llite: Solve a race to access lli_has_smd in read case
In vvp_io_read_lock(), it used to decide if to add read lock by
checking lli_has_smd. Accessing lli_has_smd is racy when an empty
file is turned into raid0, therefore, it may result in read requests
are issued without corresponding lock.
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-on: http://review.whamcloud.com/12139
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5062
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions