Bug #13444
closedFS::zero -> "The FALLOC_FL_PUNCH_HOLE flag must be ORed with FALLOC_FL_KEEP_SIZE in 'mode'" (man 2 fallocate)
0%
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
Updated by Xiaoxi Chen over 8 years ago
Fix subbmitted https://github.com/ceph/ceph/pull/6227
Updated by Sage Weil over 8 years ago
fix is part of
https://github.com/ceph/ceph/pull/6209
Updated by Loïc Dachary over 8 years ago
- Status changed from New to Resolved
- Assignee set to Sage Weil