Ryusuke Konishi e85dc1d529 nilfs2: enable sync_page method
This adds a missing sync_page method which unplugs bio requests when
waiting for page locks. This will improve read performance of nilfs.

Here is a measurement result using dd command.

Without this patch:

 # mount -t nilfs2 /dev/sde1 /test
 # dd if=/test/aaa of=/dev/null bs=512k
 1024+0 records in
 1024+0 records out
 536870912 bytes (537 MB) copied, 6.00688 seconds, 89.4 MB/s

With this patch:

 # mount -t nilfs2 /dev/sde1 /test
 # dd if=/test/aaa of=/dev/null bs=512k
 1024+0 records in
 1024+0 records out
 536870912 bytes (537 MB) copied, 3.54998 seconds, 151 MB/s

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
2009-06-10 23:41:11 +09:00
..
2009-04-07 08:31:13 -07:00
2009-04-07 08:31:13 -07:00
2009-04-07 08:31:13 -07:00
2009-06-10 23:41:10 +09:00
2009-06-10 23:41:10 +09:00
2009-04-07 08:31:13 -07:00
2009-04-07 08:31:13 -07:00
2009-04-07 08:31:19 -07:00
2009-04-07 08:31:19 -07:00
2009-04-07 08:31:20 -07:00
2009-04-07 08:31:14 -07:00
2009-04-07 08:31:14 -07:00
2009-06-10 23:41:11 +09:00
2009-04-07 08:31:16 -07:00
2009-04-07 08:31:13 -07:00
2009-04-07 08:31:13 -07:00
2009-04-13 09:53:50 +09:00