Skip to contentSkip to conversation

NILFS2 future

DISCUSSION Reinoud Zandijk 2 participants 2 messages Aug 2, 2008 1 message not in the archive NILFS2 filesystem

lore
Share & tools
lore
#0 lore raw

Dear folks,

i've now come so far as that i can dump and read the root directory of a nilfs2 filesystem. One thing i am wondering of though is the file format stability? Are there changes on hand and if so how does the linux nilfs2 implementation deal with it? Is the kernel code automatically converting the discs on write? or is there a transformation program to be provided?

With regards,
Reinoud

A message that is not in the archive (sent off-list or not yet received): 20080802110525.GA12210-5cYspOl2ggRz6xQTk39kMVfVdRo2wo/[email protected]

#2 lore raw

Hi!

Quoted 5 lines · Reinoud Zandijk

Dear folks,

i've now come so far as that i can dump and read the root directory of a nilfs2 filesystem. One thing i am wondering of though is the file format stability? Are there changes on hand

NILFS 2.0.0 and the later 2.0.x are the versions to fix bugs or improve perfomance problems due to immature implementation.
So, I'd like to avoid any changes that impact either backward or forward compatibility in this series.

However, NILFS2 has many TODOs that may impact on that, such as atime support, acl/xattr support, redundant super block support, B-tree based directory implementation, and so forth.
New user requirement, or discussions and development in the kernel community may also lead to big changes.

For changes like the atime support, NILFS2 can keep the compatibility because adding metadata files (which are used for checkpoint management or Disk Address Translation) to NILFS2 is possible. The acl/xattr support might be possible by using similar scheme.
(Those enhanced version of NILFS2 should be released, I think, with version
like 2.1.y, 2.2.y ...)

In general, the filesystem that doesn't have compatibility should be regarded as different filesystem, especially for commonly used filesystems or those adopted in the mainline kernel.
In this standpoint, big changes should be dealt with in NILFS3, but we could think more flexibly because NILFS is not yet so popular ;-) nor merged in the mainline.

Quoted 6 lines

and if so how does the linux nilfs2 implementation deal with it? Is the kernel code automatically converting
the discs on write? or is there a transformation program to be provided?

With regards,
Reinoud

Hmm.., we don't have not yet so convenient solution, but the cleaner daemon may help in the future; it could serve on-line disk format conversion with cooperation of the nilfs2 kernel code. Anyone interested in that?

At present, we have to carefully implement new features on a case-by-case basis not to lose compatibility.

Cheers,
Ryusuke