]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: improve metadata I/O merging in the elevator
authorDave Chinner <dgc@sgi.com>
Tue, 24 Nov 2009 18:03:15 +0000 (18:03 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 16 Dec 2009 19:41:19 +0000 (13:41 -0600)
commitebb6d278b5c8872a8581454c86595d7b0e9a06ea
treee44a88b0ae7f01d339426d7a6d18bde017bb9cf1
parent31fbd68c3430fd77cf093efea0682d0d605f75a3
xfs: improve metadata I/O merging in the elevator

Change all async metadata buffers to use [READ|WRITE]_META I/O types
so that the I/O doesn't get issued immediately. This allows merging of
adjacent metadata requests but still prioritises them over bulk data.
This shows a 10-15% improvement in sequential create speed of small
files.

Don't include the log buffers in this classification - leave them as
sync types so they are issued immediately.

Signed-off-by: Dave Chinner <dgc@sgi.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/linux-2.6/xfs_buf.c
fs/xfs/linux-2.6/xfs_buf.h
fs/xfs/xfs_log.c
include/linux/fs.h