[PATCH 0/3] nilfs2 add feature flags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series introduces feature flags that allow nilfs to confirm
feature compatibility of filesystem.

The first patch is just for improving readability of super block
format.  The second patch extends super block and adds three flags to
store feature sets (i.e. "compat features", "read-only compat
features", and "incompat features").  The semantics of these flags is
mimic of ext3.  At present, no feature flags are defined.

The third patch makes nilfs reject to mount (or remount) filesystems
with unknown features.  This serves as a safety for future disk format
change which is not forward compatible.

I think this should be added before dropping the experimental flag
though it again extends super blocks.

Sekiba-san, do you have comment on this?

Thanks,
Ryusuke Konishi
--
Ryusuke Konishi (3):
      nilfs2: clarify byte offset in super block format
      nilfs2: add feature set fields to super block
      nilfs2: reject incompatible filesystem

 fs/nilfs2/nilfs.h         |    2 ++
 fs/nilfs2/super.c         |   39 +++++++++++++++++++++++++++++++++++++++
 fs/nilfs2/the_nilfs.c     |    8 ++++++++
 include/linux/nilfs2_fs.h |   41 +++++++++++++++++++++++++++--------------
 4 files changed, 76 insertions(+), 14 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux BTRFS]     [Linux CIFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux