Home
last modified time | relevance | path

Searched hist:ae00d4f37f4df56821331deb1028748110dd6dc9 (Results 1 – 3 of 3) sorted by relevance

/linux/fs/ceph/
H A Dsnap.cdiff ae00d4f37f4df56821331deb1028748110dd6dc9 Fri Sep 17 01:26:51 CEST 2010 Sage Weil <sage@newdream.net> ceph: fix cap_snap and realm split

The cap_snap creation/queueing relies on both the current i_head_snapc
_and_ the i_snap_realm pointers being correct, so that the new cap_snap
can properly reference the old context and the new i_head_snapc can be
updated to reference the new snaprealm's context. To fix this, we:

- move inodes completely to the new (split) realm so that i_snap_realm
is correct, and
- generate the new snapc's _before_ queueing the cap_snaps in
ceph_update_snap_trace().

Signed-off-by: Sage Weil <sage@newdream.net>
H A Daddr.cdiff ae00d4f37f4df56821331deb1028748110dd6dc9 Fri Sep 17 01:26:51 CEST 2010 Sage Weil <sage@newdream.net> ceph: fix cap_snap and realm split

The cap_snap creation/queueing relies on both the current i_head_snapc
_and_ the i_snap_realm pointers being correct, so that the new cap_snap
can properly reference the old context and the new i_head_snapc can be
updated to reference the new snaprealm's context. To fix this, we:

- move inodes completely to the new (split) realm so that i_snap_realm
is correct, and
- generate the new snapc's _before_ queueing the cap_snaps in
ceph_update_snap_trace().

Signed-off-by: Sage Weil <sage@newdream.net>
H A Dsuper.hdiff ae00d4f37f4df56821331deb1028748110dd6dc9 Fri Sep 17 01:26:51 CEST 2010 Sage Weil <sage@newdream.net> ceph: fix cap_snap and realm split

The cap_snap creation/queueing relies on both the current i_head_snapc
_and_ the i_snap_realm pointers being correct, so that the new cap_snap
can properly reference the old context and the new i_head_snapc can be
updated to reference the new snaprealm's context. To fix this, we:

- move inodes completely to the new (split) realm so that i_snap_realm
is correct, and
- generate the new snapc's _before_ queueing the cap_snaps in
ceph_update_snap_trace().

Signed-off-by: Sage Weil <sage@newdream.net>