On Wed, Feb 18, 2009 at 1:41 AM, Gordan Bobic <gordan@xxxxxxxxxx> wrote: > Is there any reason to prefer: > > # find /gluster/mountpoint -type f -exec head -c1 '{}' \; This was necessary in the old code as selfheal code was implemented in open() flow. > > to > > # ls -laR /gluster/mountpoint This works in the recent code (2.0 rc1) as selfheal is implemented in lookup() flow. lookup() is done on an inode just before it is accessed. Krishna > > for initiating a server sync/heal with AFR? As far as I can tell, the latter > should (and does) do the same job (the -la forces the open of the file inode > for stat() data rather than just the parent directory inode), and it is > faster since there is no process spawn overhead for each file being synced. > > Gordan > > > _______________________________________________ > Gluster-devel mailing list > Gluster-devel@xxxxxxxxxx > http://lists.nongnu.org/mailman/listinfo/gluster-devel >