]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: don't rejournal files with caps that are unwanted
authorSage Weil <sage@newdream.net>
Fri, 13 Nov 2009 22:57:39 +0000 (14:57 -0800)
committerSage Weil <sage@newdream.net>
Fri, 13 Nov 2009 23:21:32 +0000 (15:21 -0800)
commit07369305f81b5d1d2d5a66217d7109766a8a0887
treeb11d6fa611319b2f6af6295ffef9ce324dc8ebfd
parent7e7a79e57b5898e374febf3a5eab576cd52b8f6a
mds: don't rejournal files with caps that are unwanted

If they're unwanted, it's no biggie to fail to reconnect the cap.  And
Locker::adjust_cap_wanted() already adjusts the open_file logseg lists in
this way, so let's just totally consistent.
src/mds/journal.cc