nilfs2: issue discard request after cleaning segments
authorJiro SEKIBA <jir@unicus.jp>
Sat, 30 Jan 2010 09:06:35 +0000 (18:06 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Sat, 13 Feb 2010 03:26:02 +0000 (12:26 +0900)
commite902ec9906e844f4613fa6190c6fa65f162dc86e
treeee0ea829ae04a30fb01c119f050a3967304e55ba
parent724e6d3fe8003c3f60bf404bf22e4e331327c596
nilfs2: issue discard request after cleaning segments

This adds a function to send discard requests for given array of
segment numbers, and calls the function when garbage collection
succeeded.

Signed-off-by: Jiro SEKIBA <jir@unicus.jp>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Documentation/filesystems/nilfs2.txt
fs/nilfs2/segment.c
fs/nilfs2/super.c
fs/nilfs2/the_nilfs.c
fs/nilfs2/the_nilfs.h
include/linux/nilfs2_fs.h