2.6.xx: NFS: directory motion/cam2 contains a readdir loop

Christoph Hellwig hch at infradead.org
Wed Jul 27 14:39:37 CDT 2011


On Wed, Jul 27, 2011 at 03:35:01PM -0400, Justin Piszcz wrote:
> Currently I do not see any dupes, however I have a script that moves
> images out of the directory once an hour:
> 0 * * * * /usr/local/bin/move_to_old2.sh > /dev/null 2>&1

Do you keep adding files to the directory while you move files out?
What's the rate of additions/removals to the directory?

If we add files to the directory while removing others we could easily
re-use the same offset for a different file.




More information about the xfs mailing list