]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: don't croak on open_files without caps
authorSage Weil <sage@newdream.net>
Fri, 13 Nov 2009 22:44:22 +0000 (14:44 -0800)
committerSage Weil <sage@newdream.net>
Fri, 13 Nov 2009 23:21:32 +0000 (15:21 -0800)
commit7e7a79e57b5898e374febf3a5eab576cd52b8f6a
tree474b9515d776d13b3065f52a3388c63c33b06c15
parentf3e746d5e691bd1a7c2d47cfc1e76b103ce5106d
mds: don't croak on open_files without caps

We can get a capless inode here if we replay an open file, the client
fails to reconnect it, but does REPLAY an open request (that adds it
to the logseg).  AFAICS it's ok for the client to replay an open on a
file it doesn't have in it's cache anymore.
src/mds/journal.cc