Project

General

Profile

Actions

Bug #13444

closed

FS::zero -> "The FALLOC_FL_PUNCH_HOLE flag must be ORed with FALLOC_FL_KEEP_SIZE in 'mode'" (man 2 fallocate)

Added by David Casier over 8 years ago. Updated over 8 years ago.

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

0%

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

Description

With newstore and when a device RBD is reformatted : OSD crashed

-> (https://www.mail-archive.com/ceph-devel@vger.kernel.org/msg25933.html)

2015-10-10 19:50:21.084944 7f37bde1a980 10 newstore(/var/lib/ceph/osd/ceph-0) _aio_start
2015-10-10 19:50:21.085019 7f37bde1a980 10 newstore(/var/lib/ceph/osd/ceph-0) _wal_replay start
2015-10-10 19:50:21.085024 7f37b0322700 10 newstore(/var/lib/ceph/osd/ceph-0) _aio_thread start
2015-10-10 19:50:21.085035 7f37bde1a980 20 newstore(/var/lib/ceph/osd/ceph-0) _wal_replay replay 0000000000000001
2015-10-10 19:50:21.085037 7f37b0322700 40 newstore(/var/lib/ceph/osd/ceph-0) _aio_thread polling
2015-10-10 19:50:21.085038 7f37bde1a980 20 newstore(/var/lib/ceph/osd/ceph-0) _do_wal_transaction zero 1/1~ 0~1048576
2015-10-10 19:50:21.085043 7f37bde1a980 30 newstore(/var/lib/ceph/osd/ceph-0) _open_fid 1/1~ = (116) Stale file handle (with open by handle, falling back to file name)
2015-10-10 19:50:21.085057 7f37bde1a980 30 newstore(/var/lib/ceph/osd/ceph-0) _open_fid 1/1~ = 23
2015-10-10 19:50:21.085782 7f37bde1a980 -1 newstore(/var/lib/ceph/osd/ceph-0) _do_wal_transaction zero on 23 got: (95) Operation not supported
2015-10-10 19:50:21.085794 7f37bde1a980 10 newstore(/var/lib/ceph/osd/ceph-0) _aio_stop
2015-10-10 19:50:21.335095 7f37b0322700 10 newstore(/var/lib/ceph/osd/ceph-0) _aio_thread end
2015-10-10 19:50:21.423265 7f37bde1a980 -1 osd.0 0 OSD:init: unable to mount object store
2015-10-10 19:50:21.423287 7f37bde1a980 -1 ** ERROR: osd init failed: (95) Operation not supported

Error return by fs->zero in In wal_op_t::OP_ZERO

A suggestion of patch in attachment.


Files

patch_FS.cc (622 Bytes) patch_FS.cc Suggested patch David Casier, 10/10/2015 06:47 PM
Actions #3

Updated by Loïc Dachary over 8 years ago

  • Status changed from New to Resolved
  • Assignee set to Sage Weil
Actions

Also available in: Atom PDF