Project

General

Profile

Actions

Bug #356

closed

mds: cap writeback/release race with cow_inode

Added by Sage Weil over 13 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

We cow and set up the snapped inode locks based on whether WR/EXCL caps are issued. If that races with an in-flight cap update that releases those caps, the snapped inode state needs to get cleaned up.

This basically means recombining some of the FLUSHSNAP and regular cap update logic in Locker.cc.

Actions

Also available in: Atom PDF