]> git.arvados.org - arvados.git/commit
4501: FUSE exposes by_id subdirectory when run with --by-id.
authorBrett Smith <brett@curoverse.com>
Tue, 25 Nov 2014 20:24:08 +0000 (15:24 -0500)
committerBrett Smith <brett@curoverse.com>
Mon, 1 Dec 2014 16:55:25 +0000 (11:55 -0500)
commit98fd0639a6703084ad9877d9713b8fa4a8dfb03d
tree190db2b0a96741bdc7229cd563c5bab5158538b7
parentf20ae9938c84f48954246a732be7c2f02ff848af
4501: FUSE exposes by_id subdirectory when run with --by-id.

This makes it possible for people to develop code against their own
normal Keep mount, and then have it work as expected in Crunch (which
uses --by-id for backward compatibility).

I considered adding a second inode for by_id that pointed to the same
underlying MagicDirectory instance.  Unfortunately, the current
implementation would make it difficult to avoid exposing infinitely
recursing by_id subdirectories, and that seemed like a bigger problem
than the relatively small overhead of having two MagicDirectory
instances.  (The Keep client will use comparatively more RAM, and it
will use the same block cache for both directories, which should keep
it relatively under control.)
services/fuse/arvados_fuse/__init__.py
services/fuse/tests/test_mount.py