TALPA strides forward
TALPA strides forward
Posted Aug 29, 2008 0:47 UTC (Fri) by dlang (guest, #313)In reply to: TALPA strides forward by njs
Parent article: TALPA strides forward
I posted a proposal for a slightly different approach where instead of using mtime and a single 'clean' bit I suggested stealing a chunk of xattr namespace and have the kernel clear this namespace when the file was dirtied.
this would let a scanner set a placeholder in the namespace to indicate that it was looking at the file, then when it was done it could check to see if the placeholder was still there, if so the file didn't change while it was being scanned and it's safe to mark it as scanned, if the placeholder is not there then you know the file changed and the scan you just did is worthless.
by using a chunk of namespace you can also support multiple scanners (without them needing to know anything about each other)