Re: ZFS directory with a large number of files

2011-08-08 Thread Daniel Kalchev



On 06.08.11 09:24, Gary Palmer wrote:
Its been quite a while since I worked on the filesystem stuff in any 
detail but I believe, at least for UFS, it doesn't GC the directory, 
just truncate it if enough of the entries at the end are deleted to 
free up at least one fragment or block.


This was my point indeed. If you empty a directory or remove files form 
the end of the directory is it truncated, this is not really a GC, but 
rather a shortcut. I guess the reason why it does not  use GC is because 
of concurrency/locking reasons. Or maybe the code was just not written yet.


But with ZFS this should be much easier to implement. If it is the same 
in Solaris, then it is not done so far...  But then, the promise made by 
ZFS is to provide constant directory access timing.


I am just wondering.. does implementing such garbage collection merit a 
new ZFS filesystem version?


Daniel
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: happy hacker lite 2 keyboard

2011-08-08 Thread Zoran Kolic
Finally got the kb. As almost everyone anticipated,
it refused to work connected to ps/2 adapter with
usb - ps/2. I had to recompile the kernel and put
usb code back.
So far, so good. Thanks all for support.

  Zoran

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org