summaryrefslogtreecommitdiff
path: root/drivers/md/dm.c
diff options
context:
space:
mode:
authorMandeep Singh Baines <msb@chromium.org>2011-10-31 20:18:50 +0000
committerAlasdair G Kergon <agk@redhat.com>2011-10-31 20:18:50 +0000
commit4693c9668fdcec229825b3763876b4744f9e6d5e (patch)
tree683d07005d06c3e25bbec25b910567275f0bb9d1 /drivers/md/dm.c
parentc3b92c8787367a8bb53d57d9789b558f1295cc96 (diff)
dm table: propagate non rotational flag
Allow QUEUE_FLAG_NONROT to propagate up the device stack if all underlying devices are non-rotational. Tools like ureadahead will schedule IOs differently based on the rotational flag. With this patch, I see boot time go from 7.75 s to 7.46 s on my device. Suggested-by: J. Richard Barnette <jrbarnette@chromium.org> Signed-off-by: Mandeep Singh Baines <msb@chromium.org> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Cc: Neil Brown <neilb@suse.de> Cc: Jens Axboe <jaxboe@fusionio.com> Cc: Martin K. Petersen <martin.petersen@oracle.com> Cc: dm-devel@redhat.com Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm.c')
0 files changed, 0 insertions, 0 deletions