On Tue, 24 Feb 2015 20:01:44 +0100, Andreas Rohner wrote:
It doesn't really matter if the number of reclaimable blocks for a
segment is inaccurate, as long as the overall performance is better than
the simple timestamp algorithm and starvation is prevented.
The following steps will lead to
On Tue, 24 Feb 2015 20:01:40 +0100, Andreas Rohner wrote:
This patch adds simple tracking of block deletions and updates for
all files except the DAT- and the SUFILE-Metadatafiles. It uses the
fact, that for every block, NILFS2 keeps an entry in the DAT-File
and stores the checkpoint where it
On Tue, 24 Feb 2015 20:01:38 +0100, Andreas Rohner wrote:
*buf,
int cleansi, cleansu, dirtysi, dirtysu;
long ncleaned = 0, ndirtied = 0;
int ret = 0;
+ bool sup_ext = (supsz = NILFS_EXT_SUINFO_UPDATE_SIZE);
+ bool su_ext = nilfs_sufile_ext_supported(sufile);
On Tue, 24 Feb 2015 20:01:41 +0100, Andreas Rohner wrote:
This patch adds a small cache to accumulate the small decrements of
the number of live blocks in a segment usage entry. If for example a
large file is deleted, the segment usage entry has to be updated for
every single block. But for
On Tue, 24 Feb 2015 20:01:37 +0100, Andreas Rohner wrote:
This patch adds a simple, small cache that can be used to accumulate
modifications to SUFILE entries. This is for example useful for
keeping track of reclaimable blocks, because most of the
modifications consist of small increments or