Actions
Bug #63697
openclient: zero byte sync write fails
% Done:
0%
Source:
Development
Tags:
Backport:
reef,quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
dparmar:build$ ./bin/ceph_test_libcephfs
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from LibCephFS
[ RUN ] LibCephFS.PreadvPwritevZeroBytesSyncIO
/home/dparmar/CephRepoForRunningTestsLocally/ceph/src/osdc/Striper.cc: In function 'static void Striper::file_to_extents(ceph::common::CephContext*, const file_layout_t*, uint64_t, uint64_t, uint64_t, uint64_t, striper::LightweightObjectExtents*)' thread 7f6a13e3f500 time 2023-11-30T18:45:22.765304+0530
/home/dparmar/CephRepoForRunningTestsLocally/ceph/src/osdc/Striper.cc: 186: FAILED ceph_assert(len > 0)
ceph version 18.0.0-7275-g8bc4cf1939c (8bc4cf1939ce76918542dbb5433652de295e5916) reef (dev)
1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x125) [0x7f6a1482127d]
2: (ceph::register_assert_context(ceph::common::CephContext*)+0) [0x7f6a14821484]
3: /home/dparmar/CephRepoForRunningTestsLocally/ceph/build/lib/libcephfs.so.2(+0x17c087) [0x7f6a1537c087]
4: /home/dparmar/CephRepoForRunningTestsLocally/ceph/build/lib/libcephfs.so.2(+0x17cc87) [0x7f6a1537cc87]
5: /home/dparmar/CephRepoForRunningTestsLocally/ceph/build/lib/libcephfs.so.2(+0xc735b) [0x7f6a152c735b]
6: /home/dparmar/CephRepoForRunningTestsLocally/ceph/build/lib/libcephfs.so.2(+0xe5355) [0x7f6a152e5355]
7: /home/dparmar/CephRepoForRunningTestsLocally/ceph/build/lib/libcephfs.so.2(+0xb4c03) [0x7f6a152b4c03]
8: /home/dparmar/CephRepoForRunningTestsLocally/ceph/build/lib/libcephfs.so.2(+0xb5662) [0x7f6a152b5662]
9: /home/dparmar/CephRepoForRunningTestsLocally/ceph/build/lib/libcephfs.so.2(+0xb5ac6) [0x7f6a152b5ac6]
10: /home/dparmar/CephRepoForRunningTestsLocally/ceph/build/lib/libcephfs.so.2(+0xb5b75) [0x7f6a152b5b75]
11: ceph_pwritev()
12: (LibCephFS_PreadvPwritevZeroBytesSyncIO_Test::TestBody()+0x25c) [0x5600c8a11f4e]
13: (void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x1b) [0x5600c8a30756]
14: (void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x80) [0x5600c8a396b5]
15: (testing::Test::Run()+0xb4) [0x5600c8a29d12]
16: (testing::TestInfo::Run()+0x104) [0x5600c8a29e18]
17: (testing::TestSuite::Run()+0xb2) [0x5600c8a29ecc]
18: (testing::internal::UnitTestImpl::RunAllTests()+0x36b) [0x5600c8a2b355]
19: (bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)+0x1b) [0x5600c8a309c6]
20: (bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)+0x80) [0x5600c8a39afb]
21: (testing::UnitTest::Run()+0x63) [0x5600c8a29fe7]
22: (RUN_ALL_TESTS()+0x11) [0x5600c8a13e41]
23: main()
24: /lib64/libc.so.6(+0x27550) [0x7f6a1344a550]
25: __libc_start_main()
26: _start()
Aborted (core dumped)
Updated by Patrick Donnelly 5 months ago
- Status changed from New to In Progress
- Assignee set to Dhairya Parmar
- Target version set to v19.0.0
- Source set to Development
- Backport set to reef,quincy
- Component(FS) Client added
Updated by Dhairya Parmar 5 months ago
- Related to Bug #63679: client: handle zero byte sync/async write cases added
Updated by Dhairya Parmar 5 months ago
- Related to Bug #63712: client: add test cases for sync io code paths added
Updated by Dhairya Parmar 5 months ago
im thinking to add this as well as all possible test cases for sync io in https://tracker.ceph.com/issues/63712
Actions