From: Namhyung Kim Date: Thu, 25 Aug 2011 04:43:34 +0000 (+1000) Subject: md: use REQ_NOIDLE flag in md_super_write() X-Git-Tag: v3.1-rc5~4^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5bf4df0c88b88d34b6f0e3bc8a402dac7d14611;p=pandora-kernel.git md: use REQ_NOIDLE flag in md_super_write() Queue idling is used for the anticipation of immediate sequencial I/O's but md_super_write() is a kind of one- shot operation, coupled with md_super_wait(), so the idling in this case will be just a waste of time. Specifying REQ_NOIDLE prevents it. Instead of adding the flag to submit_bio() directly, use pre-defined macro WRITE_FLUSH_FUA. Signed-off-by: Namhyung Kim Signed-off-by: NeilBrown --- Reading git-diff-tree failed