Hi!
On Wed, 8 Apr 2009 22:28:45 +0900, "Yongkun Wang" wrote:
> Hey guys,
>
> I am using NILFS2, the best log-structured file system I've ever used.
> 
> But currently the NILFS2 cannot support the swap file.
> 
> I formatted the partition with nilfs2, then I create a swap file on it, then
> mkswap swapfile, then swapon swapfile, it doesn't work.
> 
> It works well for ext2 file system.

Yes, it is not a bug but an unavoidable restriction since
supporting swapfile requires direct overwrites for the file.

Usually it is incompatible with copy-on-write based file system, and
NILFS is just such a FS.

We have to break COW nature partially if we support swapfile on the
filesystem.

OK, maybe we should describe this restriction in our FAQ page or so.

Thanks for pointed out.

Regards,
Ryusuke Konishi
_______________________________________________
users mailing list
[email protected]
https://www.nilfs.org/mailman/listinfo/users

Reply via email to