summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid5-log.h
diff options
context:
space:
mode:
authorArtur Paszkiewicz <artur.paszkiewicz@intel.com>2017-04-04 13:13:56 +0200
committerShaohua Li <shli@fb.com>2017-04-10 12:00:27 -0700
commit94568f64af50bb37c418b200449698cfe7e1da5f (patch)
tree0de940594ff6b9151b57e06cb66c13e51eaa6f49 /drivers/md/raid5-log.h
parent0c9d5b127f695818c2c5a3868c1f28ca2969e905 (diff)
downloadlinux-94568f64af50bb37c418b200449698cfe7e1da5f.tar.bz2
raid5-ppl: move no_mem_stripes to struct ppl_conf
Use a single no_mem_stripes list instead of per member device lists for handling stripes that need retrying in case of failed io_unit allocation. Because io_units are allocated from a memory pool shared between all member disks, the no_mem_stripes list should be checked when an io_unit for any member is freed. This fixes a deadlock that could happen if there are stripes in more than one no_mem_stripes list. Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com> Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/md/raid5-log.h')
0 files changed, 0 insertions, 0 deletions