Hi All,
Please find below a fix for 6765593.
This fix makes querying snapshot information for directories and
retrieving file history information asynchronous.
For the directory querying a simple thread pool is used. For the
file history retrieval only one thread
is used inside a thread pool to avoid starting multiple thread to
retrieve this information. To achieve
this a async queue is used to retrieve the information sequentially
within on of the worker thread of
the pool.
I've tested this implementation with a zfs filesystem containing
4000 snapshots of a directory containing
1000 files.
I'm attaching a diff from the previous version of the nautilus time
slider patch for ease of reading.
Thanks,
Erwann
--
Erwann Ch?ned?,
Desktop Group, Sun Microsystems, Grenoble
Phone : +33 476 188 358 ext: 38358
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ts-async.diff
URL:
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20081202/07c8fd6e/attachment.ksh>