Project

General

Profile

Actions

Bug #2288

closed

libcephfs: setxattr returns EEXIST following removexattr

Added by Yehuda Sadeh about 12 years ago. Updated about 10 years ago.

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

0%

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

Description

running cephtest a couple of time (out of wip-testlibcephfs):

012-04-13 14:02:39.396164 7f42bf90e760  1 -- 192.168.106.226:0/1008300 --> mds.0 192.168.106.223:6803/22493 -- client_request(client.4164:13 rmxattr #10000000004 user.testxattr) v1 -- ?+0 0x1e7d260
2012-04-13 14:02:39.396453 7f42bb0e3700  1 -- 192.168.106.226:0/1008300 <== mds.0 192.168.106.223:6803/22493 29 ==== client_caps(revoke ino 10000000004 32 seq 2 caps=pAsLsFscr dirty=- wanted=pFscr follows 0 size 0/0 ts 1 mtime 2012-04-13 13:46:52.957378) v2 ==== 180+0+0 (1463032935 0 0) 0x1e7a1f0 con 0x7f42b4003980
2012-04-13 14:02:39.396481 7f42bb0e3700  1 -- 192.168.106.226:0/1008300 --> mds.0 192.168.106.223:6803/22493 -- client_caps(update ino 10000000004 32 seq 2 caps=pAsLsFscr dirty=- wanted=pFscr follows 0 size 0/0 ts 1 mtime 2012-04-13 13:46:52.957378) v2 -- ?+0 0x7f42b400aa80
2012-04-13 14:02:39.396801 7f42bb0e3700  1 -- 192.168.106.226:0/1008300 <== mds.0 192.168.106.223:6803/22493 30 ==== client_reply(???:13 = 0 Success unsafe) v1 ==== 316+0+0 (3850604899 0 0) 0x1e7a1f0 con 0x7f42b4003980
2012-04-13 14:02:39.396877 7f42bf90e760  1 -- 192.168.106.226:0/1008300 --> mds.0 192.168.106.223:6803/22493 -- client_request(client.4164:14 setxattr #10000000004 user.testxattr) v1 -- ?+7 0x1e7d260
2012-04-13 14:02:39.396928 7f42bb0e3700  1 -- 192.168.106.226:0/1008300 <== mds.0 192.168.106.223:6803/22493 31 ==== client_reply(???:11 = 0 Success safe) v1 ==== 27+0+0 (55976111 0 0) 0x1e7e540 con 0x7f42b4003980
2012-04-13 14:02:39.397308 7f42bb0e3700  1 -- 192.168.106.226:0/1008300 <== mds.0 192.168.106.223:6803/22493 32 ==== client_caps(revoke ino 10000000004 32 seq 4 caps=pAsLsFscr dirty=- wanted=pFscr follows 0 size 0/0 ts 1 mtime 2012-04-13 13:46:52.957378) v2 ==== 180+0+0 (1307836803 0 0) 0x1e7a480 con 0x7f42b4003980
2012-04-13 14:02:39.397332 7f42bb0e3700  1 -- 192.168.106.226:0/1008300 --> mds.0 192.168.106.223:6803/22493 -- client_caps(update ino 10000000004 32 seq 4 caps=pAsLsFscr dirty=- wanted=pFscr follows 0 size 0/0 ts 1 mtime 2012-04-13 13:46:52.957378) v2 -- ?+0 0x7f42b400afc0
2012-04-13 14:02:39.397368 7f42bb0e3700  1 -- 192.168.106.226:0/1008300 <== mds.0 192.168.106.223:6803/22493 33 ==== client_reply(???:14 = -17 File exists safe) v1 ==== 27+0+0 (309390617 0 0) 0x1e7a830 con 0x7f42b4003980
ceph_setxattr error: (17) File exists

Running it again succeeds, but the following listxattrs will fail.

Actions

Also available in: Atom PDF