Revision 5ef50c3bec20060bc114f62d6503c5d86d70bdd7 authored by Sage Weil on 31 July 2012, 18:27:36 UTC, committed by Sage Weil on 02 August 2012, 16:11:19 UTC
The initial ->atomic_open op was carried over from the old intent code,
which was incomplete and didn't really work.  Replace it with a fresh
method.  In particular:

 * always attempt to do an atomic open+lookup, both for the create case
   and for lookups of existing files.
 * fix symlink handling by returning 1 to the VFS so that we can follow
   the link to its destination. This fixes a longstanding ceph bug (#2392).

Signed-off-by: Sage Weil <sage@inktank.com>
1 parent 1a9b499
History
File Mode Size
Makefile -rw-r--r-- 313 bytes
clnt4xdr.c -rw-r--r-- 13.4 KB
clntlock.c -rw-r--r-- 7.0 KB
clntproc.c -rw-r--r-- 21.0 KB
clntxdr.c -rw-r--r-- 13.6 KB
grace.c -rw-r--r-- 1.7 KB
host.c -rw-r--r-- 17.2 KB
mon.c -rw-r--r-- 13.6 KB
netns.h -rw-r--r-- 345 bytes
svc.c -rw-r--r-- 15.8 KB
svc4proc.c -rw-r--r-- 14.0 KB
svclock.c -rw-r--r-- 25.6 KB
svcproc.c -rw-r--r-- 14.8 KB
svcshare.c -rw-r--r-- 2.4 KB
svcsubs.c -rw-r--r-- 10.1 KB
xdr.c -rw-r--r-- 7.2 KB
xdr4.c -rw-r--r-- 7.3 KB

back to top