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 #1

Updated by Sage Weil over 13 years ago

  • Status changed from New to In Progress
  • Priority changed from Normal to High

This also happens when the client has WR/EXCL caps but no dirty data.. in that case it sends no FLUSHSNAP.

Basically, we need to make the mds behave with the FLUSHSNAP optional!

Actions #2

Updated by Sage Weil over 13 years ago

  • Status changed from In Progress to Resolved

fixed by commit:78c759a8bc94870e303aaa73ee3504cbcc9de17c

Actions #3

Updated by John Spray over 7 years ago

  • Project changed from Ceph to CephFS
  • Category deleted (1)
  • Target version deleted (v0.22)

Bulk updating project=ceph category=mds bugs so that I can remove the MDS category from the Ceph project to avoid confusion.

Actions

Also available in: Atom PDF