Skip to content
Commit 5ef50c3b authored by Sage Weil's avatar Sage Weil
Browse files

ceph: simplify+fix atomic_open



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: default avatarSage Weil <sage@inktank.com>
parent 1a9b4993
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment