nilfs2: set bio unplug flag for the last bio in segment
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Sun, 17 May 2009 01:57:43 +0000 (10:57 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Wed, 10 Jun 2009 14:41:11 +0000 (23:41 +0900)
commit30bda0b8ae470997dc681d6fd82108bac5caebf8
tree6c420f48a10c0cfbeed23243e2fc89df274cb5a2
parent003ff182fddde09ddfb8d079bbdb02f9d2122082
nilfs2: set bio unplug flag for the last bio in segment

This sets BIO_RW_UNPLUG flag on the last bio of each segment during
write.  The last bio should be unplugged immediately because the
caller waits for the completion after the submission.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
fs/nilfs2/segbuf.c