summaryrefslogtreecommitdiff
path: root/usr/Makefile
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2011-07-26 11:26:31 -0700
committerSage Weil <sage@newdream.net>2011-07-26 11:26:31 -0700
commitaf0ed569d7019f1b49e9e51e77b47092e656b00e (patch)
treea8b0ad426b22548eec9e2d350c131426e13af989 /usr/Makefile
parent9cfa1098dcfb34f71c5f3b7bcdbbb435a0cecab2 (diff)
ceph: fix snap writeback when racing with writes
There are two problems that come up when we try to queue a capsnap while a write is in progress: - The FILE_WR cap is held, but not yet dirty, so we may queue a capsnap with dirty == 0. That will crash later in __ceph_flush_snaps(). Or on the FILE_WR cap if a write is in progress. - We may not have i_head_snapc set, which causes problems pretty quickly. Look to the snaprealm in this case. Reviewed-by: Yehuda Sadeh <yehuda@hq.newdream.net> Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'usr/Makefile')
0 files changed, 0 insertions, 0 deletions