Files
linux/fs
Ryusuke Konishi ba65ae4729 nilfs2: add checkpoint tree to nilfs object
To hold multiple versions of a filesystem in one sb instance, a new
on-memory structure is necessary to handle one or more checkpoints.

This adds a red-black tree of checkpoints to nilfs object, and adds
lookup and create functions for them.

Each checkpoint is represented by "nilfs_root" structure, and this
structure has rb_node to configure the rb-tree.

The nilfs_root object is identified with a checkpoint number.  For
each snapshot, a nilfs_root object is allocated and the checkpoint
number of snapshot is assigned to it.  For a regular mount
(i.e. current mode mount), NILFS_CPTREE_CURRENT_CNO constant is
assigned to the corresponding nilfs_root object.

Each nilfs_root object has an ifile inode and some counters.  These
items will displace those of nilfs_sb_info structure in successive
patches.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
2010-10-23 09:24:34 +09:00
..
…
2010-10-04 21:10:35 +02:00
2010-08-18 01:01:33 -04:00
2010-10-15 15:53:27 +02:00
…
2010-10-04 21:10:44 +02:00
2010-10-04 21:10:45 +02:00
2010-10-21 18:48:09 +02:00
2010-08-18 06:21:10 -04:00
2010-10-04 21:10:45 +02:00
2010-08-18 01:09:01 -04:00
2010-10-04 21:10:50 +02:00
2010-10-04 21:10:40 +02:00
…
2010-10-04 21:10:41 +02:00
2010-10-21 18:48:04 +02:00
2010-08-18 01:09:01 -04:00
2010-08-18 08:35:48 -04:00
2010-10-15 15:53:27 +02:00
2010-08-18 08:35:48 -04:00
2010-08-18 08:35:46 -04:00
2010-08-18 08:35:48 -04:00
…
2010-10-21 15:44:13 +02:00
2010-10-05 11:02:04 +02:00
…
…
2010-08-18 08:35:48 -04:00
…
2010-08-18 08:35:47 -04:00
…
2010-08-18 08:35:48 -04:00
…
2010-10-15 15:53:46 +02:00
…
…
2010-08-09 16:48:44 -04:00
2010-08-18 08:35:48 -04:00
2010-08-09 16:47:43 -04:00
…