Inconsistent/potentially incorrect behavior with relative lookups via chdir(2) on UFS/ZFS
Peter Jeremy
peter at rulingia.com
Sun Nov 4 19:50:57 UTC 2012
On 2012-Nov-03 13:56:04 -0700, Garrett Cooper <yanegomi at gmail.com> wrote:
>On Sat, Nov 3, 2012 at 3:38 AM, Peter Jeremy <peter at rulingia.com> wrote:
>> Whilst playing with the above, I've found some wierd timing issues
>> with UFS+SU:
>>
>> $ mkdir -p ~/p/q/r;sync
>> $ cd p/q/r
>> $ rm -r ~/p; while date; do sleep 3 ; ls -al;done
>> Sat 3 Nov 2012 21:29:19 EST
>> total 2
>> drwxr-xr-x 0 peter jeremy 512 3 Nov 21:28 .
>> drwxr-xr-x 0 peter jeremy 0 3 Nov 21:29 ..
>> Sat 3 Nov 2012 21:29:22 EST
...
>> Sat 3 Nov 2012 21:29:46 EST
>> total 0
>> Sat 3 Nov 2012 21:29:49 EST
>>
>
> Interesting; with SU-J or SUJ (my testing was with the default: SUJ)?
This was on 8.3 with no journalling. I haven't tried on later variants.
I couldn't reproduce it with ZFS and couldn't always reproduce it with UFS.
--
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20121105/e0cb16c8/attachment.sig>
More information about the freebsd-fs
mailing list