]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Allow QUEUE_FLAG_NONROT to propagate up the device stack if all
authorMandeep Singh Baines <msb@chromium.org>
Tue, 9 Aug 2011 00:49:58 +0000 (10:49 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 9 Aug 2011 00:49:58 +0000 (10:49 +1000)
commitd74c1c9e1b52c03f90c8c6d4f323f320cb33be6f
tree80a0a5c2f6ace071444b0832fcfef9be3aecf098
parent0e9d73198ef7d0e3f34c4234ec760950942baf06
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>
drivers/md/dm-table.c