diff options
Diffstat (limited to 'community/ceph/31-32bit_fix_tests.patch.noauto')
-rw-r--r-- | community/ceph/31-32bit_fix_tests.patch.noauto | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/community/ceph/31-32bit_fix_tests.patch.noauto b/community/ceph/31-32bit_fix_tests.patch.noauto deleted file mode 100644 index 9bab7ed1e76..00000000000 --- a/community/ceph/31-32bit_fix_tests.patch.noauto +++ /dev/null @@ -1,44 +0,0 @@ -diff -uNr ceph-15.2.4/src/test/objectstore/test_bdev.cc ceph-15.2.4-arm32_fix_tests/src/test/objectstore/test_bdev.cc ---- ceph-15.2.4/src/test/objectstore/test_bdev.cc 2020-07-01 01:10:51.000000000 +0930 -+++ ceph-15.2.4-arm32_fix_tests/src/test/objectstore/test_bdev.cc 2020-11-17 15:40:57.203039097 +1030 -@@ -54,8 +54,8 @@ - BlockDevice::create(g_ceph_context, bdev.path, NULL, NULL, - [](void* handle, void* aio) {}, NULL)); - bufferlist bl; -- // writing a bit less than 4GB -- for (auto i = 0; i < 4000; i++) { -+ // writing a bit less than 1GB -+ for (auto i = 0; i < 1000; i++) { - string s(1048576, 'a' + (i % 28)); - bl.append(s); - } -diff -uNr ceph-15.2.4/src/test/objectstore/test_bluefs.cc ceph-15.2.4-arm32_fix_tests/src/test/objectstore/test_bluefs.cc ---- ceph-15.2.4/src/test/objectstore/test_bluefs.cc 2020-07-01 01:10:51.000000000 +0930 -+++ ceph-15.2.4-arm32_fix_tests/src/test/objectstore/test_bluefs.cc 2020-11-17 15:41:32.066147015 +1030 -@@ -206,7 +206,7 @@ - } - - TEST(BlueFS, very_large_write) { -- // we'll write a ~3G file, so allocate more than that for the whole fs -+ // we'll write a ~1G file, so allocate more than that for the whole fs - uint64_t size = 1048576 * 1024 * 8ull; - TempBdev bdev{size}; - BlueFS fs(g_ceph_context); -@@ -228,7 +228,7 @@ - BlueFS::FileWriter *h; - ASSERT_EQ(0, fs.mkdir("dir")); - ASSERT_EQ(0, fs.open_for_write("dir", "bigfile", &h, false)); -- for (unsigned i = 0; i < 3*1024*1048576ull / sizeof(buf); ++i) { -+ for (unsigned i = 0; i < 1*1024*1048576ull / sizeof(buf); ++i) { - h->append(buf, sizeof(buf)); - } - fs.fsync(h); -@@ -239,7 +239,7 @@ - ASSERT_EQ(0, fs.open_for_read("dir", "bigfile", &h)); - bufferlist bl; - BlueFS::FileReaderBuffer readbuf(10485760); -- for (unsigned i = 0; i < 3*1024*1048576ull / sizeof(buf); ++i) { -+ for (unsigned i = 0; i < 1*1024*1048576ull / sizeof(buf); ++i) { - bl.clear(); - fs.read(h, &readbuf, i * sizeof(buf), sizeof(buf), &bl, NULL); - int r = memcmp(buf, bl.c_str(), sizeof(buf)); |