]> git.baikalelectronics.ru Git - kernel.git/commit
readahead: move the random read case to bottom
authorWu Fengguang <fengguang.wu@intel.com>
Tue, 16 Jun 2009 22:31:33 +0000 (15:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jun 2009 02:47:30 +0000 (19:47 -0700)
commit6792d208db625451d648d1308b6b2bda19b833e9
tree99b7743b6dab54286afe94d4d7b8113a271661b5
parentb38f773d87e0707f78a34304461d425e8b35b12e
readahead: move the random read case to bottom

Split all readahead cases, and move the random one to bottom.

No behavior changes.

This is to prepare for the introduction of context readahead, and make it
easy for inserting accounting/tracing points for each case.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Cc: Vladislav Bolkhovitin <vst@vlnb.net>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Jeff Moyer <jmoyer@redhat.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: Ying Han <yinghan@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/readahead.c