aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/addr.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-03-19 13:24:39 -0700
committerSage Weil <sage@newdream.net>2010-03-23 07:47:02 -0700
commitec4318bcb4c59d8b8bf7037c9f444a9887ccb265 (patch)
tree9c471ed9e33b864253166c255c1fd601b909c7af /fs/ceph/addr.c
parent87b315a5b5cec5d7086494b203577602f5befc8c (diff)
downloadkernel_samsung_smdk4412-ec4318bcb4c59d8b8bf7037c9f444a9887ccb265.zip
kernel_samsung_smdk4412-ec4318bcb4c59d8b8bf7037c9f444a9887ccb265.tar.gz
kernel_samsung_smdk4412-ec4318bcb4c59d8b8bf7037c9f444a9887ccb265.tar.bz2
ceph: fix snap rebuild condition
We were rebuilding the snap context when it was not necessary (i.e. when the realm seq hadn't changed _and_ the parent seq was still older), which caused page snapc pointers to not match the realm's snapc pointer (even though the snap context itself was identical). This confused begin_write and put it into an endless loop. The correct logic is: rebuild snapc if _my_ realm seq changed, or if my parent realm's seq is newer than mine (and thus mine needs to be rebuilt too). Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/addr.c')
0 files changed, 0 insertions, 0 deletions