diff options
author | Namhyung Kim <namhyung@gmail.com> | 2011-08-25 04:43:34 (GMT) |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-08-25 04:43:34 (GMT) |
commit | a5bf4df0c88b88d34b6f0e3bc8a402dac7d14611 (patch) | |
tree | 40296244aa28ddff0360a1a57878a99926243620 /crypto/krng.c | |
parent | aeb9b211849621f592288ed5ad694de9eeaae87a (diff) | |
download | linux-fsl-qoriq-a5bf4df0c88b88d34b6f0e3bc8a402dac7d14611.tar.xz |
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 <namhyung@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'crypto/krng.c')
0 files changed, 0 insertions, 0 deletions