- Implement CLI commands for listing, viewing I/O statistics, creating, snapshotting, cloning, resizing and modifying images. All these operations are covered by 3 commands: ls, create, modify - Implement an important fix to prior OSD set tracking for PGs. The previous version had an issue which could lead to data loss due to an OSD with older copy of the data thinking it has the newest copy - Fix I/O statistics aggregation in the monitor - Several minor fixes for Cinder driver - Fix QEMU driver to be compatible with QEMU 2.x > 2.0 - Fix stalls sometimes possible in configurations without immediate_commit due to insufficient amount of automatic internal fsync operations - Add `vita` alias for `vitastor-cli`
74 lines
1.8 KiB
RPMSpec
74 lines
1.8 KiB
RPMSpec
Name: vitastor
|
|
Version: 0.6.7
|
|
Release: 1%{?dist}
|
|
Summary: Vitastor, a fast software-defined clustered block storage
|
|
|
|
License: Vitastor Network Public License 1.1
|
|
URL: https://vitastor.io/
|
|
Source0: vitastor-0.6.7.el7.tar.gz
|
|
|
|
BuildRequires: liburing-devel >= 0.6
|
|
BuildRequires: gperftools-devel
|
|
BuildRequires: devtoolset-9-gcc-c++
|
|
BuildRequires: rh-nodejs12
|
|
BuildRequires: rh-nodejs12-npm
|
|
BuildRequires: jerasure-devel
|
|
BuildRequires: gf-complete-devel
|
|
BuildRequires: libibverbs-devel
|
|
BuildRequires: cmake
|
|
Requires: fio = 3.7-1.el7
|
|
Requires: qemu-kvm = 2.0.0-1.el7.6
|
|
Requires: rh-nodejs12
|
|
Requires: rh-nodejs12-npm
|
|
Requires: liburing >= 0.6
|
|
Requires: libJerasure2
|
|
Requires: lpsolve
|
|
|
|
%description
|
|
Vitastor is a small, simple and fast clustered block storage (storage for VM drives),
|
|
architecturally similar to Ceph which means strong consistency, primary-replication,
|
|
symmetric clustering and automatic data distribution over any number of drives of any
|
|
size with configurable redundancy (replication or erasure codes/XOR).
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
. /opt/rh/devtoolset-9/enable
|
|
%cmake . -DQEMU_PLUGINDIR=qemu-kvm
|
|
%make_build
|
|
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
%make_install
|
|
. /opt/rh/rh-nodejs12/enable
|
|
cd mon
|
|
npm install
|
|
cd ..
|
|
mkdir -p %buildroot/usr/lib/vitastor
|
|
cp -r mon %buildroot/usr/lib/vitastor/mon
|
|
|
|
|
|
%files
|
|
%doc
|
|
%_bindir/vitastor-dump-journal
|
|
%_bindir/vitastor-nbd
|
|
%_bindir/vitastor-osd
|
|
%_bindir/vitastor-cli
|
|
%_bindir/vitastor-rm
|
|
%_bindir/vita
|
|
%_libdir/qemu-kvm/block-vitastor.so
|
|
%_libdir/libfio_vitastor.so
|
|
%_libdir/libfio_vitastor_blk.so
|
|
%_libdir/libfio_vitastor_sec.so
|
|
%_libdir/libvitastor_blk.so*
|
|
%_libdir/libvitastor_client.so*
|
|
%_includedir/vitastor_c.h
|
|
/usr/lib/vitastor
|
|
|
|
|
|
%changelog
|