Project

General

Profile

Actions

Bug #1827

closed

libceph: hang on creating a file

Added by Sage Weil over 12 years ago. Updated almost 7 years ago.

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

0%

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

Description

Using trivial thinger from Noah.

Actions #1

Updated by Sage Weil over 12 years ago

see commit:5804477b20f89a2b02218b518a44e73073b393c9 for reproducer.

fwiw i ran with vstart and 'LD_PRELOAD=../../src/.libs/libcephfs.so ./trivial_libceph ~/ceph/src/ceph.conf asdf --debug-client 20 --log-to-stderr --debug-ms 1 --debug-monc 20 --keyring ~/ceph/src/keyring'

Actions #2

Updated by Sage Weil over 12 years ago

  • Target version deleted (v0.40)
  • Translation missing: en.field_position set to 111
Actions #3

Updated by Sage Weil over 12 years ago

  • Translation missing: en.field_position deleted (111)
  • Translation missing: en.field_position set to 103
Actions #4

Updated by Sage Weil about 12 years ago

  • Status changed from New to Resolved

finally looked at this. the problem is just that open wasn't passed O_WRONLY or O_RDWR, and ceph_write() wasn't returning EINVAL as a result.

fixed in commit:d63303de9702e28da0992899855ba4ea9b71738d

Actions #5

Updated by Greg Farnum almost 7 years ago

  • Project changed from Ceph to CephFS
  • Category deleted (24)
Actions

Also available in: Atom PDF