The patch titled ext3 sequential read regression fix has been added to the -mm tree. Its filename is ext3-sequential-read-regression-fix.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: ext3 sequential read regression fix From: Badari Pulavarty <pbadari@xxxxxxxxxx> ext3-get-blocks support caused ~20% degrade in Sequential read performance (tiobench). Problem is with marking the buffer boundary so IO can be submitted right away. Here is the patch to fix it. 2.6.18-rc6: ----------- # ./iotest 1048576+0 records in 1048576+0 records out 4294967296 bytes (4.3 GB) copied, 75.2726 seconds, 57.1 MB/s real 1m15.285s user 0m0.276s sys 0m3.884s 2.6.18-rc6 + fix: ----------------- [root@elm3a241 ~]# ./iotest 1048576+0 records in 1048576+0 records out 4294967296 bytes (4.3 GB) copied, 62.9356 seconds, 68.2 MB/s The boundary block check in ext3_get_blocks_handle needs to be adjusted against the count of blocks mapped in this call, now that it can map more than one block. Signed-off-by: Suparna Bhattacharya <suparna@xxxxxxxxxx> Tested-by: Badari Pulavarty <pbadari@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/ext3/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/ext3/inode.c~ext3-sequential-read-regression-fix fs/ext3/inode.c --- a/fs/ext3/inode.c~ext3-sequential-read-regression-fix +++ a/fs/ext3/inode.c @@ -925,7 +925,7 @@ int ext3_get_blocks_handle(handle_t *han set_buffer_new(bh_result); got_it: map_bh(bh_result, inode->i_sb, le32_to_cpu(chain[depth-1].key)); - if (blocks_to_boundary == 0) + if (count > blocks_to_boundary) set_buffer_boundary(bh_result); err = count; /* Clean up and exit */ _ Patches currently in -mm which might be from pbadari@xxxxxxxxxx are ext3-sequential-read-regression-fix.patch jbd-fix-commit-of-ordered-data-buffers.patch pass-io-size-to-batch_write-address-space-operation.patch vectorize-aio_read-aio_write-fileop-methods.patch vectorize-aio_read-aio_write-fileop-methods-xfs-fix.patch vectorize-aio_read-aio_write-fileop-methods-hypfs-fix.patch remove-readv-writev-methods-and-use-aio_read-aio_write.patch streamline-generic_file_-interfaces-and-filemap.patch add-vector-aio-support.patch add-vector-aio-support-fix.patch streamline-generic_file_-interfaces-and-filemap-ecryptfs.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