The patch titled md: enable bypassing cache for reads has been added to the -mm tree. Its filename is md-enable-bypassing-cache-for-reads.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: md: enable bypassing cache for reads From: NeilBrown <neilb@xxxxxxx> Call the chunk_aligned_read where appropriate. Cc: "Raz Ben-Jehuda(caro)" <raziebe@xxxxxxxxx> Signed-off-by: Neil Brown <neilb@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/md/raid5.c | 5 +++++ 1 file changed, 5 insertions(+) diff -puN drivers/md/raid5.c~md-enable-bypassing-cache-for-reads drivers/md/raid5.c --- a/drivers/md/raid5.c~md-enable-bypassing-cache-for-reads +++ a/drivers/md/raid5.c @@ -2798,6 +2798,11 @@ static int make_request(request_queue_t disk_stat_inc(mddev->gendisk, ios[rw]); disk_stat_add(mddev->gendisk, sectors[rw], bio_sectors(bi)); + if ( bio_data_dir(bi) == READ && + mddev->reshape_position == MaxSector && + chunk_aligned_read(q,bi)) + return 0; + logical_sector = bi->bi_sector & ~((sector_t)STRIPE_SECTORS-1); last_sector = bi->bi_sector + (bi->bi_size>>9); bi->bi_next = NULL; _ Patches currently in -mm which might be from neilb@xxxxxxx are md-check-bio-address-after-mapping-through-partitions.patch md-send-online-offline-uevents-when-an-md-array-starts-stops.patch sunrpc-add-missing-spin_unlock.patch lockdep-annotate-nfs-nfsd-in-kernel-sockets.patch lockdep-annotate-nfs-nfsd-in-kernel-sockets-tidy.patch remove-lock_key-approach-to-managing-nested-bd_mutex-locks.patch simplify-some-aspects-of-bd_mutex-nesting.patch use-mutex_lock_nested-for-bd_mutex-to-avoid-lockdep-warning.patch avoid-lockdep-warning-in-md.patch lockdep-annotate-nfsd4-recover-code.patch md-change-lifetime-rules-for-md-devices.patch md-define-raid5_mergeable_bvec.patch md-handle-bypassing-the-read-cache-assuming-nothing-fails.patch md-allow-reads-that-have-bypassed-the-cache-to-be-retried-on-failure.patch md-enable-bypassing-cache-for-reads.patch md-conditionalize-some-code.patch md-dm-reduce-stack-usage-with-stacked-block-devices.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html