Re: [zfs-discuss] Clearing a directory with more than 60 million files

2010-01-05 Thread Joe Blount
On 01/ 5/10 10:01 AM, Richard Elling wrote: How are the files named? If you know something about the filename pattern, then you could create subdirs and mv large numbers of files to reduce the overall size of a single directory. Something like: mkdir .A mv A* .A mkdir .B mv B*

Re: [zfs-discuss] atomic_set and what assumptions are proper

2008-11-10 Thread Joe Blount
[EMAIL PROTECTED] wrote: I notice the sys/atomic.h atomic_xxx interfaces are limited to things that do read/modify/write (inc/dec/swap/etc). There is no atomic_set to do a simple assignment. My question is: what protocol is used to update a specific variable to a specific

[zfs-discuss] atomic_set and what assumptions are proper

2008-11-10 Thread Joe Blount
I notice the sys/atomic.h atomic_xxx interfaces are limited to things that do read/modify/write (inc/dec/swap/etc). There is no atomic_set to do a simple assignment. In a couple headers defining wrappers around the atomic_xxx interfaces, some define an atomic_set that does a simple assignment,

Re: [zfs-discuss] C code for reading ZFS ACL

2008-08-19 Thread Joe Blount
Mark Shellenbaum wrote: > Joe Blount wrote: >> >>>> Is the acl_t intentionally designed to be opaque? >>>> >>> >>> Yes, its meant to be opaque. >>> >>> The layout of the acl_t will likely change in the not too distant >

Re: [zfs-discuss] C code for reading ZFS ACL

2008-08-15 Thread Joe Blount
Is the acl_t intentionally designed to be opaque? Yes, its meant to be opaque. The layout of the acl_t will likely change in the not too distant future. Will old versions be supported?  For example, if ADM treats it as opaque and archives the current format, after an u

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-28 Thread Joe Blount
> A good handful of people approached me later, being > curious and fascinated by the idea to replace the > backup scheduler with an event-driven creation of the > versions. Uwe, I'm still struggling to decide if ADM is what you're looking for. When you make comments like the one quoted above,

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-26 Thread Joe Blount
> Can someone please point me to link, or just > unambiguously say 'yes' or 'no' to my question, if > ZFS could produce a snapshot of whatever type, > initiated with a signal that in turn is derived from > a change (edit) of a file; like inotify in Linux > 2.6.13 and above. Hi Uwe, As I understan

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-26 Thread Joe Blount
Can someone please point me to link, or just unambiguously say 'yes' or 'no' to my question, if ZFS could produce a snapshot of whatever type, initiated with a signal that in turn is derived from a change (edit) of a file; like inotify in Linux 2.6.13 and above. Hi Uwe, I wasn't previously fa