Project

General

Profile

Actions

Bug #52431

closed

Bug #51279: kclient hangs on umount (testing branch)

cephfs client must clean up bogus caps after failed async create

Added by Jeff Layton over 2 years ago. Updated over 2 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

Patrick did a test run in teuthology that showed a bunch of failed async creates:

[  911.040357] ceph: ceph: async create failure path=(1)splitdir/file_152 result=-28!
[  911.048080] ceph: ceph_async_create_cb: no req->r_target_inode for 0x10000000099

-28 is -ENOSPC. Later, the umount hung and the debugging patch we had in place captured this:

[  986.329589] ceph: 10000000099:fffffffffffffffe Fw 312 0 0

The client is trying to flush caps for a file that failed to be created. If an async create fails, then we must purge any caps for it as well.


Related issues 1 (1 open0 closed)

Related to CephFS - Bug #52430: mds: fast async create client mount breaks racy testNew

Actions
Actions #1

Updated by Patrick Donnelly over 2 years ago

  • Related to Bug #52430: mds: fast async create client mount breaks racy test added
Actions #2

Updated by Jeff Layton over 2 years ago

  • Status changed from New to Duplicate
  • Parent task set to #51279

Closing as duplicate of #51279, as cleaning these up is just part of what's needed to fix that issue.

Actions

Also available in: Atom PDF