diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-11-29 15:03:04 +0100 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-11-30 13:17:52 +0100 |
commit | a694291a6211537189c6080f77f63cdabfc9b63e (patch) | |
tree | ec23d36fc493eeaaedd72f54187652f9df3b4819 /drivers/xen/balloon.c | |
parent | nilfs2: add iterator for segment buffers (diff) | |
download | linux-a694291a6211537189c6080f77f63cdabfc9b63e.tar.xz linux-a694291a6211537189c6080f77f63cdabfc9b63e.zip |
nilfs2: separate wait function from nilfs_segctor_write
This separates wait function for submitted logs from the write
function nilfs_segctor_write(). A new list of segment buffers
"sc_write_logs" is added to hold logs under writing, and double
buffering is partially applied to hide io latency.
At this point, the double buffering is disabled for blocksize <
pagesize because page dirty flag is turned off during write and dirty
buffers are not properly collected for pages crossing over segments.
To receive full benefit of the double buffering, further refinement is
needed to move the io wait outside the lock section of log writer.
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'drivers/xen/balloon.c')
0 files changed, 0 insertions, 0 deletions