nilfs2: add ioctl which limits range of segment to be allocated
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Wed, 4 May 2011 16:23:57 +0000 (01:23 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Tue, 10 May 2011 13:21:45 +0000 (22:21 +0900)
This adds a new ioctl command which limits range of segment to be
allocated.  This is intended to gather data whithin a range of the
partition before shrinking the filesystem, or to control new log
location for some purpose.

If a range is specified by the ioctl, segment allocator of nilfs tries
to allocate new segments from the range unless no free segments are
available there.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>

No differences found