On Sat, Apr 14, 2007 at 10:04:23AM -0400, Mike Snitzer wrote:
> ZFS does have some powerful features but much of it depends on their
> broken layering of volume management. Embedding the equivalent of LVM
> into a filesystem _feels_ quite wrong.
They have a clustering concept in their volume management that isn't
expressable with something like LVM. That justifes their approach from
what I can see.
> That aside, the native snapshot capabilities of ZFS really stand out
> for me. The redirect on write semantics aren't exclusive to ZFS;
> NetApp's WAFL employs the same. But with both ZFS and WAFL they were
> designed to do snapshots extremely well from the ground up.
Write allocation for these kinds of system (especially when concerned
with mirroring) is non-trivial.
> Unfortunately in order for Linux to incorporate such a feature I'd
> imagine a new filesystem would need to be developed with redirect on
> write at its core. Can't really see ext4 or any other existing Linux
> filesystem grafting such a feature into it. But even though I can't
> see it; do others?
You also can't use the standard page cache to buffer all of the sophicated
semantics of these systems and have to create your own.
> I've learned that Sun and NetApp's lawyers had it out over the
> redirect on write capability of ZFS. When the dust settled Sun had
> enough patent protection to motivate a truce with NetApp.
I think they are still talking and it's far from over the last I heard.
The creation of a new inode and decending indirect blocks is a fundamental
concept behind WAFL. Also ZFS tends to be a heavy weight as far as
metadata goes and quite possibly uneccessarily so which is likely to effect
performance for things related to keep a relevant block allocation map in
memory. ZFS is a complete pig compared to traditional file systems.
> The interesting side-effect is now ZFS is "open" and with that comes
> redirect on write in a file system other than WAFL. But ZFS's CDDL
> conflicts with the GPL so I'm not too sure how Linux could hit the
> ground running in this potentially patent mired area of filesystem
> development. The validity of NetApp having patented redirect on write
> aside; does the conflict between CDDL and GPL _really_ matter? Or did
> the CDDL release of ZFS somehow undermine NetApp's WAFL patent?
That doesn't really matter. FUSE could be extended to handle this kind
of stuff and still have it be in userspace. The BSD get around including
Stephen Tweedy's (sp?) ext2 header file by making the user manually
compile it. That's not a problem for Linux folks that can download a
patch and compile a kernel.
FreeBSD already has a port of ZFS. Just for a kick, Google for that as
a possible basis for a Linux kernel port.
bill
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]