Project

General

Profile

Actions

Bug #4578

closed

client: hangs on unlink

Added by Greg Farnum about 11 years ago. Updated about 11 years ago.

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

0%

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

Description

Looks like somebody accidentally deleted #4570 (and there's no undelete in Redmine best I can tell), so this ticket will stand in for it. Unfortunately I didn't download the logs...

Sam noted that the unlink was waiting for a readlock:

2013-03-28 10:25:54.657128 7f1fcb8be700 10 mds.0.cache.ino(10000000000) add_waiter tag 600000 0x172d4e0 !ambig 1 !frozen 1 !freezing 1
2013-03-28 10:25:54.657134 7f1fcb8be700 15 mds.0.cache.ino(10000000000) taking waiter here
2013-03-28 10:25:54.657137 7f1fcb8be700 10 mds.0.locker nudge_log (ilink sync->lock) on [inode 10000000000 [2,head] /1364491554516-testFileCreationNonRecursive auth v2 pv4 ap=3+0 s=0 n(v0 1=1+0) (ilink sync->lock) (ifile excl w=1) (iversion lock w=1 last_client=4302) cr={4302=0-65536@1} caps={4302=pAsXsFs/pAsLsXsFs/-@4},l=4302(-1) | ptrwaiter=1 request=0 lock=3 caps=1 dirty=1 waiter=1 authpin=1 0x17d5540]

Zheng Yan noted that:
2013-03-28 10:25:54.654534 7fa06effd700 10 client.4302 cap mds.0 issued pAsLsXsFsxcrwb implemented pAsxXsxFsxcrwb revoking AxXx

'issued' has 'Ls', but 'implemented' does not. Please try patch below.

(Unfortunately Redmine mangled the patch, but it was on Client.cc:3567; I believe adding a "cap->implemented |= new_caps;" line?


Files

patch (510 Bytes) patch Zheng Yan, 03/29/2013 12:51 AM
Actions #1

Updated by Zheng Yan about 11 years ago

yes, patch is also attached

Actions #2

Updated by Noah Watkins about 11 years ago

This patch solves the problem :)

Actions #3

Updated by Noah Watkins about 11 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF