From: NeilBrown Date: Mon, 18 Apr 2011 08:25:43 +0000 (+1000) Subject: md: incorporate new plugging into raid5. X-Git-Tag: v2.6.39-rc4~3^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c13edc87510f665da3094174e1fd633e06649f4;p=pandora-kernel.git 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 --- Reading git-diff-tree failed