diff options
author | NeilBrown <neilb@suse.de> | 2011-04-18 10:25:43 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-04-18 10:25:43 +0200 |
commit | 7c13edc87510f665da3094174e1fd633e06649f4 (patch) | |
tree | c0c50ab6ac43e9c762199bfd94c787f43a8e0896 /drivers/atm | |
parent | md: provide generic support for handling unplug callbacks. (diff) | |
download | linux-7c13edc87510f665da3094174e1fd633e06649f4.tar.xz linux-7c13edc87510f665da3094174e1fd633e06649f4.zip |
md: incorporate new plugging into raid5.
In raid5 plugging is used for 2 things:
1/ collecting writes that require a bitmap update
2/ collecting writes in the hope that we can create full
stripes - or at least more-full.
We now release these different sets of stripes when plug_cnt
is zero.
Also in make_request, we call mddev_check_plug to hopefully increase
plug_cnt, and wake up the thread at the end if plugging wasn't
achieved for some reason.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions