Re: fuse cache shenanigans

2016-08-16 Thread Martin Natano
On Mon, Aug 15, 2016 at 02:11:38PM -0600, Bob Beck wrote: > Note - NFS has similar behaviour ;) > > at least within a directory. - so this isn't tht "unusual" for non-local NFS is much smarter than that. It verifies the results returned by cache_lookup() with some "clever" voodoo that checks the

Re: fuse cache shenanigans

2016-08-15 Thread Bob Beck
Yeah, ok in that context, sure.. since this is userspace shit the caching if any should probably happen there. On Mon, Aug 15, 2016 at 2:20 PM, Ted Unangst wrote: > Bob Beck wrote: > > Note - NFS has similar behaviour ;) > > > > at least within a directory. - so this isn't tht "unusual" for no

Re: fuse cache shenanigans

2016-08-15 Thread Ted Unangst
Bob Beck wrote: > Note - NFS has similar behaviour ;) > > at least within a directory. - so this isn't tht "unusual" for non-local > > I'm wondering if this isn't a bit premature Have you looked for other side > effects of this removal? I think the nature of FUSE is that it's used with even "fa

Re: fuse cache shenanigans

2016-08-15 Thread Bob Beck
Note - NFS has similar behaviour ;) at least within a directory. - so this isn't tht "unusual" for non-local I'm wondering if this isn't a bit premature Have you looked for other side effects of this removal? On Mon, Aug 15, 2016 at 1:52 PM, Ted Unangst wrote: > Martin Natano wrote: > > Watc

Re: fuse cache shenanigans

2016-08-15 Thread Ted Unangst
Martin Natano wrote: > Watch this: > > $ doas sshfs natano@localhost:/tmp /mnt > $ cat /mnt/foo > cat: /mnt/foo: No such file or directory > $ echo bar > /tmp/foo > $ cat /mnt/foo > cat: /mnt/foo: No such file or directory > $ touch /mnt/foo > $ cat

fuse cache shenanigans

2016-08-15 Thread Martin Natano
Watch this: $ doas sshfs natano@localhost:/tmp /mnt $ cat /mnt/foo cat: /mnt/foo: No such file or directory $ echo bar > /tmp/foo $ cat /mnt/foo cat: /mnt/foo: No such file or directory $ touch /mnt/foo $ cat /mnt/foo bar