Vitaliy Filippov
842ba8b831
Use (uint64_t)1 instead of 1l / 1ul
2022-04-16 01:48:14 +03:00
Vitaliy Filippov
8dfbd7943c
Use logical block size = 512 bytes by default
2021-12-08 23:43:40 +03:00
Vitaliy Filippov
9fca01dc62
Add a forgotten return statement
2021-12-03 00:41:49 +03:00
Vitaliy Filippov
0bd3a94efd
Use qdict_get_try_int because qdict_get_int may segfault on a missing key
2021-12-03 00:22:17 +03:00
Vitaliy Filippov
5fe3a40416
More fixes for QEMU 2.x :)
2021-12-02 02:25:50 +03:00
Vitaliy Filippov
15957b7d13
Update QEMU 4.2 patch and CentOS 7 QEMU 4.2 spec patch
2021-12-02 01:03:19 +03:00
Vitaliy Filippov
92362027a8
Build vitastor driver as part of the QEMU package by default
...
Old behaviour can be restored with cmake var WITH_QEMU=true
2021-11-29 02:05:26 +03:00
Vitaliy Filippov
43f8ea47a0
Ok, something is not allowed somewhere in C99
2021-11-24 11:28:10 +03:00
Vitaliy Filippov
879fe9b2b4
Add a patch for qemu 6.1 and replace _ with - in qemu options
2021-11-21 16:24:30 +03:00
Vitaliy Filippov
a1488f7217
Fix qemu_driver to build with QEMU 2.x (previously it was only correct for QEMU 2.0)
2021-11-08 23:07:31 +03:00
Tân Lê
e889ac4209
Fix building QEMU 3.1
2021-11-05 13:45:51 +07:00
Vitaliy Filippov
b52dd6843a
Rename qemu_rbd_unescape and qemu_rbd_next_tok to *_vitastor_*
2021-07-03 23:14:44 +03:00
Vitaliy Filippov
b66160a7ad
Aggregate per-pool statistics in mon
2021-07-03 23:14:44 +03:00
Vitaliy Filippov
6ca8afffe5
Add CAS version parameter to the C wrapper
2021-06-19 01:00:52 +03:00
Vitaliy Filippov
511a89948b
Rework qemu_proxy into a C wrapper library with public header
2021-06-19 00:39:11 +03:00
Vitaliy Filippov
818ae5d61d
Some config parsing fixes
2021-05-01 00:20:01 +03:00
Vitaliy Filippov
f6f35f4127
Pass options correctly to not override /etc/vitastor/vitastor.conf
2021-04-30 01:17:44 +03:00
Vitaliy Filippov
6a6fd6544d
Add RDMA options to the QEMU driver
2021-04-29 11:02:49 +03:00
Vitaliy Filippov
38bd51c97f
Remove aio_context assertion, it seems it is unneeded
2021-04-14 22:32:15 +03:00
Vitaliy Filippov
2612d3198a
Introduce image names and metadata storage in etcd
...
Each inode has: image name, parent inode number & pool, size and readonly flag
Snapshots are created by switching image name to a different inode number
while using the older inode as parent.
2021-04-10 17:44:12 +03:00
Vitaliy Filippov
bf9a175efc
Move C/C++ sources to src subdirectory
2021-02-25 23:59:03 +03:00