vitastor/src
Vitaliy Filippov 7bdd92ca4f Fix build under clang and some warnings
Build problems fixed:
- void* pointer arithmetic which is a GNU extension (works as byte*)
- "variable size object may not be initialized" which is OK under GCC
- nullptr_t related error in json11 (it lacks 'operator <' in clang)

Warnings fixed:
- empty nested struct initializer { 0 } replaced by {}
- removed several unused lambda captures
2022-01-16 00:02:54 +03:00
..
mock Fix minor bugs in snapshot removal, check it in tests 2021-09-25 19:30:29 +03:00
CMakeLists.txt Release 0.6.11 2021-12-26 21:11:24 +03:00
addr_util.cpp Rework HTTP client to use keepalive, move getifaddr_list to addr_util 2022-01-03 14:52:01 +03:00
addr_util.h Rework HTTP client to use keepalive, move getifaddr_list to addr_util 2022-01-03 14:52:01 +03:00
allocator.cpp Add "external" bitmap support to osd_rmw 2021-04-10 17:44:12 +03:00
allocator.h Add "external" bitmap support to osd_rmw 2021-04-10 17:44:12 +03:00
base64.cpp Move C/C++ sources to src subdirectory 2021-02-25 23:59:03 +03:00
base64.h Move C/C++ sources to src subdirectory 2021-02-25 23:59:03 +03:00
blockstore.cpp Autosync based on number of unstable ops to prevent journal stalls 2021-10-30 14:26:48 +03:00
blockstore.h Autosync based on number of unstable ops to prevent journal stalls 2021-10-30 14:26:48 +03:00
blockstore_flush.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
blockstore_flush.h Print journal flusher diagnostics on slow ops 2021-07-17 16:13:41 +03:00
blockstore_impl.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
blockstore_impl.h Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
blockstore_init.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
blockstore_init.h Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
blockstore_journal.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
blockstore_journal.h Implement journal write batching and slightly refactor journal writes 2021-12-16 00:27:17 +03:00
blockstore_open.cpp Fix opening regular files as blockstore 2021-12-15 02:08:58 +03:00
blockstore_read.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
blockstore_rollback.cpp Implement journal write batching and slightly refactor journal writes 2021-12-16 00:27:17 +03:00
blockstore_stable.cpp Implement journal write batching and slightly refactor journal writes 2021-12-16 00:27:17 +03:00
blockstore_sync.cpp Implement journal write batching and slightly refactor journal writes 2021-12-16 00:27:17 +03:00
blockstore_write.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
cli.cpp Do not try to initialize client in simple-offsets 2021-12-15 02:07:27 +03:00
cli.h Implement vitastor-cli df command 2021-12-10 02:37:02 +03:00
cli_alloc_osd.cpp Fix capture of out in alloc_osd 2021-11-25 10:20:01 +03:00
cli_create.cpp Do not crash in simple-offsets when some options are empty, too 2021-12-10 12:27:25 +03:00
cli_df.cpp Implement vitastor-cli df command 2021-12-10 02:37:02 +03:00
cli_flatten.cpp Rename commands and add CLI help 2021-09-26 13:14:36 +03:00
cli_ls.cpp Implement vitastor-cli df command 2021-12-10 02:37:02 +03:00
cli_merge.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
cli_modify.cpp Now fix resize command :D 2021-12-05 01:38:08 +03:00
cli_rm.cpp Implement CLI set (resize, change readonly status) command 2021-11-13 22:39:17 +03:00
cli_simple_offsets.cpp Rewrite simple-offsets.js in C/C++ 2021-11-19 02:39:56 +03:00
cli_snap_rm.cpp Fix index removal in vitastor-cli rm 2021-11-29 02:00:05 +03:00
cluster_client.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
cluster_client.h Ignore "readonly" flag when merging snapshots 2021-09-26 11:32:42 +03:00
cluster_client_list.cpp Implement layer merge 2021-07-31 00:23:30 +03:00
crc32c.c Move C/C++ sources to src subdirectory 2021-02-25 23:59:03 +03:00
crc32c.h Move C/C++ sources to src subdirectory 2021-02-25 23:59:03 +03:00
dump_journal.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
epoll_manager.cpp Move C/C++ sources to src subdirectory 2021-02-25 23:59:03 +03:00
epoll_manager.h Move C/C++ sources to src subdirectory 2021-02-25 23:59:03 +03:00
etcd_state_client.cpp Rework HTTP client to use keepalive, move getifaddr_list to addr_util 2022-01-03 14:52:01 +03:00
etcd_state_client.h Rework HTTP client to use keepalive, move getifaddr_list to addr_util 2022-01-03 14:52:01 +03:00
fio_cluster.cpp Add CAS version parameter to the C wrapper 2021-06-19 01:00:52 +03:00
fio_engine.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
fio_headers.h Move C/C++ sources to src subdirectory 2021-02-25 23:59:03 +03:00
fio_sec_osd.cpp Support zero-copy send in fio_sec_osd to allow testing it 2021-12-27 02:12:44 +03:00
http_client.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
http_client.h Rework HTTP client to use keepalive, move getifaddr_list to addr_util 2022-01-03 14:52:01 +03:00
malloc_or_die.h Move C/C++ sources to src subdirectory 2021-02-25 23:59:03 +03:00
messenger.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
messenger.h Support IPv6 OSD addresses 2021-12-19 10:42:17 +03:00
msgr_op.cpp Extract some definitions to msgr_op.{cpp,h} 2021-04-03 14:36:04 +03:00
msgr_op.h Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
msgr_rdma.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
msgr_rdma.h Remove naggy RDMA messages when log level is zero 2021-11-06 14:36:23 +03:00
msgr_receive.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
msgr_send.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
msgr_stop.cpp Fix minor bugs in snapshot removal, check it in tests 2021-09-25 19:30:29 +03:00
nbd_proxy.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
object_id.h Actual snapshot support (untested) 2021-04-10 17:44:12 +03:00
osd.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
osd.h Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
osd_cluster.cpp Only die when detecting a real race condition, not just a CAS failure 2022-01-05 17:05:25 +03:00
osd_flush.cpp Rename osd_t::c_cli to msgr 2021-04-17 16:32:09 +03:00
osd_id.h Implement "inverse merge" optimisation 2021-09-26 12:59:04 +03:00
osd_main.cpp Use json11 instead of blockstore_config_t 2021-04-30 00:52:46 +03:00
osd_ops.cpp Add "read bitmaps" operation to secondary OSD protocol 2021-04-10 17:44:12 +03:00
osd_ops.h Implement CAS writes 2021-06-15 00:12:35 +03:00
osd_peering.cpp Fix OSDs marking PGs incomplete instead of trying to connect with peers 2021-12-14 01:57:51 +03:00
osd_peering_pg.cpp Report pg/history from OSD on every degraded activation 2021-11-13 22:39:17 +03:00
osd_peering_pg.h Delete objects only after a SYNC during rebalance in the non-immediate_commit mode 2021-03-16 12:48:26 +03:00
osd_peering_pg_test.cpp Move C/C++ sources to src subdirectory 2021-02-25 23:59:03 +03:00
osd_primary.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
osd_primary.h Implement chained (optimized) read in the primary OSD code 2021-04-10 17:44:12 +03:00
osd_primary_chain.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
osd_primary_subops.cpp Autosync based on number of unstable ops to prevent journal stalls 2021-10-30 14:26:48 +03:00
osd_primary_sync.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
osd_primary_write.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
osd_rmw.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
osd_rmw.h Allocate bitmaps along with stripes to avoid memory fragmentation 2021-04-10 17:44:12 +03:00
osd_rmw_test.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
osd_secondary.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
osd_test.cpp Support IPv6 OSD addresses 2021-12-19 10:42:17 +03:00
pg_states.cpp Report pg/history from OSD on every degraded activation 2021-11-13 22:39:17 +03:00
pg_states.h Report pg/history from OSD on every degraded activation 2021-11-13 22:39:17 +03:00
qemu_driver.c Use logical block size = 512 bytes by default 2021-12-08 23:43:40 +03:00
ringloop.cpp Move C/C++ sources to src subdirectory 2021-02-25 23:59:03 +03:00
ringloop.h Move C/C++ sources to src subdirectory 2021-02-25 23:59:03 +03:00
rw_blocking.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
rw_blocking.h Support zero-copy send in fio_sec_osd to allow testing it 2021-12-27 02:12:44 +03:00
stub_bench.cpp Support IPv6 OSD addresses 2021-12-19 10:42:17 +03:00
stub_osd.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
stub_uring_osd.cpp Send 4 byte bitmap in stub_uring_osd 2021-12-25 11:38:13 +03:00
test_allocator.cpp Skip double allocs when reading journal 2021-04-03 00:53:28 +03:00
test_blockstore.cpp Implement journaled write throttling for the SSD+HDD case 2021-04-10 17:44:12 +03:00
test_cas.cpp Add a test for CAS write operation 2021-06-15 00:12:35 +03:00
test_cluster_client.cpp Watch inode metadata revisions 2021-04-10 17:44:12 +03:00
test_pattern.h Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
test_shit.cpp Move C/C++ sources to src subdirectory 2021-02-25 23:59:03 +03:00
timerfd_manager.cpp Fix build under clang and some warnings 2022-01-16 00:02:54 +03:00
timerfd_manager.h Add microsecond accuracy to set_timer 2021-04-10 17:44:12 +03:00
vitastor.pc.in Release 0.6.11 2021-12-26 21:11:24 +03:00
vitastor_c.cpp Remove "bool" from the C header 2021-10-18 01:49:07 +03:00
vitastor_c.h Remove "bool" from the C header 2021-10-18 01:49:07 +03:00
xor.h Move C/C++ sources to src subdirectory 2021-02-25 23:59:03 +03:00