Project

General

Profile

Actions

Bug #56725

open

open file hang using vim with ceph-fuse client

Added by Bin Zhao almost 2 years ago. Updated about 1 year ago.

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

0%

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

Description

ceph version is 16.2.9
open file using vim hang with ceph-fuse client. by default open file using vim will create swp and swpx temperory files and close them laster. Ceph-fuse successfully closed swpx file but failed on swp file.

On pacific cluster, ceph-fuse got the following debug info:
unique: 152, opcode: CREATE (35), nodeid: 1, insize: 68, pid: 3868383
unique: 152, success, outsize: 160
unique: 154, opcode: LOOKUP (1), nodeid: 1, insize: 53, pid: 3868383
unique: 154, error: -2 (No such file or directory), outsize: 16
unique: 156, opcode: LOOKUP (1), nodeid: 1, insize: 53, pid: 3868383
unique: 156, error: -2 (No such file or directory), outsize: 16
unique: 158, opcode: CREATE (35), nodeid: 1, insize: 69, pid: 3868383
unique: 158, success, outsize: 160
unique: 160, opcode: GETATTR (3), nodeid: 1099511627776, insize: 56, pid: 3868383
unique: 160, success, outsize: 120
unique: 162, opcode: GETATTR (3), nodeid: 1099511627777, insize: 56, pid: 3868383
unique: 162, success, outsize: 120
unique: 164, opcode: FLUSH (25), nodeid: 1099511627777, insize: 64, pid: 3868383
unique: 164, success, outsize: 16
unique: 166, opcode: RELEASE (18), nodeid: 1099511627777, insize: 64, pid: 0
unique: 166, success, outsize: 16
unique: 168, opcode: LOOKUP (1), nodeid: 1, insize: 53, pid: 3868383
unique: 168, success, outsize: 144
unique: 170, opcode: UNLINK (10), nodeid: 1, insize: 53, pid: 3868383
unique: 170, success, outsize: 16
unique: 172, opcode: FLUSH (25), nodeid: 1099511627776, insize: 64, pid: 3868383
unique: 172, success, outsize: 16
unique: 174, opcode: FORGET (2), nodeid: 1099511627777, insize: 48, pid: 0

With Nautilus cluster, ceph-fuse got the following debug info:
unique: 83, opcode: LOOKUP (1), nodeid: 1, insize: 52, pid: 629803
unique: 83, error: -2 (No such file or directory), outsize: 16
unique: 84, opcode: LOOKUP (1), nodeid: 1, insize: 52, pid: 629803
unique: 84, error: -2 (No such file or directory), outsize: 16
unique: 85, opcode: LOOKUP (1), nodeid: 1, insize: 52, pid: 629803
unique: 85, error: -2 (No such file or directory), outsize: 16
unique: 86, opcode: LOOKUP (1), nodeid: 1, insize: 52, pid: 629803
unique: 86, error: -2 (No such file or directory), outsize: 16
unique: 87, opcode: LOOKUP (1), nodeid: 1, insize: 52, pid: 629803
unique: 87, error: -2 (No such file or directory), outsize: 16
unique: 88, opcode: LOOKUP (1), nodeid: 1, insize: 52, pid: 629803
unique: 89, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 629807
unique: 89, success, outsize: 120
unique: 90, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 629807
unique: 88, error: -2 (No such file or directory), outsize: 16
unique: 91, opcode: LOOKUP (1), nodeid: 1, insize: 52, pid: 629803
unique: 90, success, outsize: 96
unique: 92, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 629807
unique: 92, success, outsize: 120
unique: 91, error: -2 (No such file or directory), outsize: 16
unique: 93, opcode: LOOKUP (1), nodeid: 1, insize: 57, pid: 629803
unique: 93, error: -2 (No such file or directory), outsize: 16
unique: 94, opcode: LOOKUP (1), nodeid: 1, insize: 57, pid: 629803
unique: 94, error: -2 (No such file or directory), outsize: 16
unique: 95, opcode: CREATE (35), nodeid: 1, insize: 73, pid: 629803
unique: 95, success, outsize: 160
unique: 96, opcode: LOOKUP (1), nodeid: 1, insize: 58, pid: 629803
unique: 96, error: -2 (No such file or directory), outsize: 16
unique: 97, opcode: LOOKUP (1), nodeid: 1, insize: 58, pid: 629803
unique: 97, error: -2 (No such file or directory), outsize: 16
unique: 98, opcode: CREATE (35), nodeid: 1, insize: 74, pid: 629803
unique: 98, success, outsize: 160
unique: 99, opcode: GETATTR (3), nodeid: 1099511628777, insize: 56, pid: 629803
unique: 99, success, outsize: 120
unique: 100, opcode: GETATTR (3), nodeid: 1099511628778, insize: 56, pid: 629803
unique: 100, success, outsize: 120
unique: 101, opcode: FLUSH (25), nodeid: 1099511628778, insize: 64, pid: 629803
unique: 101, success, outsize: 16
unique: 102, opcode: RELEASE (18), nodeid: 1099511628778, insize: 64, pid: 0
unique: 103, opcode: LOOKUP (1), nodeid: 1, insize: 58, pid: 629803
unique: 102, success, outsize: 16
unique: 103, success, outsize: 144
unique: 104, opcode: UNLINK (10), nodeid: 1, insize: 58, pid: 629803
unique: 104, success, outsize: 16
unique: 105, opcode: FLUSH (25), nodeid: 1099511628777, insize: 64, pid: 629803
unique: 106, opcode: FORGET (2), nodeid: 1099511628778, insize: 48, pid: 0
unique: 105, success, outsize: 16
unique: 107, opcode: RELEASE (18), nodeid: 1099511628777, insize: 64, pid: 0
unique: 108, opcode: LOOKUP (1), nodeid: 1, insize: 57, pid: 629803
unique: 107, success, outsize: 16
unique: 108, success, outsize: 144
unique: 109, opcode: UNLINK (10), nodeid: 1, insize: 57, pid: 629803
unique: 109, success, outsize: 16
unique: 110, opcode: LOOKUP (1), nodeid: 1, insize: 57, pid: 629803
unique: 111, opcode: FORGET (2), nodeid: 1099511628777, insize: 48, pid: 0

Seems that no release request sent to pacific ceph-fuse and caused the hang

Actions

Also available in: Atom PDF