On Wed, Jun 07, 2006 at 07:21:18PM -0400, Bill Sommerfeld wrote: > On Wed, 2006-06-07 at 19:08, Nicolas Williams wrote: > > There's no incremental index maintenance to do as views would be like > > snapshots, so once a view is computed for one directory it could be > > cached, possibly persistently, so that the next time the readdir doesn't > > have to stat all the files in the directory. > > yeah, but doing a full tree walk under the covers in that first readdir > will Suck. I'd rather the view creation be a bit slowerer in order that > the first access to the view would be responsive.
Pick your poison. O(N) creation or O(N) initial traversal. > > I like it, but it seems like so just much gravy to me :) > > Agreed. Since it's gravy it no doubt would fall way down the list of RFEs. So the poison selection can be deferred. :-) _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss