Re: [zfs-discuss] How does ZFS snapshot COW file data?

2007-07-05 Thread Eric Hamilton
Thanks, Darren. I've taken the liberty of reordering my follow-up for clarity. Just to be clear, I'm not critiquing ZFS, just trying to learn it by pushing at some of the corner cases of filesystem-system interactions. I'm trying to figure out the implications of various ZFS features when

Re: [zfs-discuss] How does ZFS snapshot COW file data?

2007-07-05 Thread Darren Dunham
Does that mean that paging out dirty mmap pages go to new places and require metadata updates as well? Yes. Indeed, given that ZFS always writes new places (except for uberblock as you noted), then that does make the snapshots easier and accounts for there being no explicit code

[zfs-discuss] How does ZFS snapshot COW file data?

2007-07-03 Thread Eric Hamilton
Apologies in advance for the newbie internals question, but could someone please give me a pointer to how ZFS snapshots cause future modifications to files to be written to different disk blocks? I'm looking at OpenSolaris NV bld 66. How do snapshots interact with open files or files with

Re: [zfs-discuss] How does ZFS snapshot COW file data?

2007-07-03 Thread Darren Dunham
Apologies in advance for the newbie internals question, but could someone please give me a pointer to how ZFS snapshots cause future modifications to files to be written to different disk blocks? I'm looking at OpenSolaris NV bld 66. snapshots don't really cause that. ZFS never overwrites