Compare commits

..

15 Commits

Author SHA1 Message Date
Vitaliy Filippov 179842d664 Return error on failed shrink
Test / test_move_reappear (push) Has been skipped Details
Test / test_rm (push) Has been skipped Details
Test / test_snapshot_chain (push) Has been skipped Details
Test / test_snapshot_chain_ec (push) Has been skipped Details
Test / test_snapshot_down (push) Has been skipped Details
Test / test_snapshot_down_ec (push) Has been skipped Details
Test / test_splitbrain (push) Has been skipped Details
Test / test_rebalance_verify (push) Has been skipped Details
Test / test_rebalance_verify_imm (push) Has been skipped Details
Test / test_rebalance_verify_ec (push) Has been skipped Details
Test / test_rebalance_verify_ec_imm (push) Has been skipped Details
Test / test_switch_primary (push) Has been skipped Details
Test / test_write (push) Has been skipped Details
Test / test_write_xor (push) Has been skipped Details
Test / test_write_no_same (push) Has been skipped Details
Test / test_heal_pg_size_2 (push) Has been skipped Details
Test / test_heal_ec (push) Has been skipped Details
Test / test_heal_csum_32k_dmj (push) Has been skipped Details
Test / test_heal_csum_32k_dj (push) Has been skipped Details
Test / test_heal_csum_32k (push) Has been skipped Details
Test / test_heal_csum_4k_dmj (push) Has been skipped Details
Test / test_heal_csum_4k_dj (push) Has been skipped Details
Test / test_heal_csum_4k (push) Has been skipped Details
Test / test_scrub (push) Has been skipped Details
Test / test_scrub_zero_osd_2 (push) Has been skipped Details
Test / test_scrub_xor (push) Has been skipped Details
Test / test_scrub_pg_size_3 (push) Has been skipped Details
Test / test_scrub_pg_size_6_pg_minsize_4_osd_count_6_ec (push) Has been skipped Details
Test / test_scrub_ec (push) Has been skipped Details
Test / test_nfs (push) Has been skipped Details
2024-03-07 19:35:33 +03:00
Vitaliy Filippov 42ac1c9ceb Implement rename over an existing file/directory 2024-03-07 19:35:33 +03:00
Vitaliy Filippov b95bc63fdf Support --logfile in nfs-proxy 2024-03-07 19:35:33 +03:00
Vitaliy Filippov c00ba1ea7c Fix shared file overlap, add FIXMEs 2024-03-07 19:35:33 +03:00
Vitaliy Filippov b8ec671e9d Create inode, then direntry, not direntry, then inode; retry ID collisions 2024-03-07 19:35:33 +03:00
Vitaliy Filippov dc7aa937e6 Fix NFS shared/aligned write FIXMEs 2024-03-07 19:35:33 +03:00
Vitaliy Filippov 2b6f238ce8 Allow to disable per-inode stats for VitastorFS pools 2024-03-07 19:35:33 +03:00
Vitaliy Filippov da17ffb0d0 Add basic NFS tests, fix bugs 2024-03-07 19:35:33 +03:00
Vitaliy Filippov fb40841164 Return block NFS implementation back as an option too 2024-03-07 19:35:33 +03:00
Vitaliy Filippov 31ba95ace4 Move KV FS header into a separate file 2024-03-07 19:35:33 +03:00
Vitaliy Filippov 41385a0aa9 Implement packing small files into shared inodes 2024-03-07 19:35:33 +03:00
Vitaliy Filippov d6148ceae2 Split new NFS proxy implementation into multiple files 2024-03-07 19:35:33 +03:00
Vitaliy Filippov 939841f410 WIP VitastorFS with metadata storage in VitastorKV 2024-03-07 19:35:33 +03:00
Vitaliy Filippov 2defd7d8ed First just recheck version without actually re-reading block in vitastor-kv
Test / test_move_reappear (push) Has been cancelled Details
Test / test_rm (push) Has been cancelled Details
Test / test_snapshot_chain (push) Has been cancelled Details
Test / test_snapshot_chain_ec (push) Has been cancelled Details
Test / test_snapshot_down (push) Has been cancelled Details
Test / test_snapshot_down_ec (push) Has been cancelled Details
Test / test_splitbrain (push) Has been cancelled Details
Test / test_rebalance_verify (push) Has been cancelled Details
Test / test_rebalance_verify_imm (push) Has been cancelled Details
Test / test_rebalance_verify_ec (push) Has been cancelled Details
Test / test_rebalance_verify_ec_imm (push) Has been cancelled Details
Test / test_switch_primary (push) Has been cancelled Details
Test / test_write (push) Has been cancelled Details
Test / test_write_xor (push) Has been cancelled Details
Test / test_write_no_same (push) Has been cancelled Details
Test / test_heal_pg_size_2 (push) Has been cancelled Details
Test / test_heal_ec (push) Has been cancelled Details
Test / test_heal_csum_32k_dmj (push) Has been cancelled Details
Test / test_heal_csum_32k_dj (push) Has been cancelled Details
Test / test_heal_csum_32k (push) Has been cancelled Details
Test / test_heal_csum_4k_dmj (push) Has been cancelled Details
Test / test_heal_csum_4k_dj (push) Has been cancelled Details
Test / build (push) Has been cancelled Details
Test / test_heal_csum_4k (push) Has been cancelled Details
Test / test_scrub (push) Has been cancelled Details
Test / test_scrub_zero_osd_2 (push) Has been cancelled Details
Test / test_scrub_xor (push) Has been cancelled Details
Test / test_scrub_pg_size_3 (push) Has been cancelled Details
Test / test_scrub_pg_size_6_pg_minsize_4_osd_count_6_ec (push) Has been cancelled Details
Test / test_scrub_ec (push) Has been cancelled Details
2024-03-07 19:35:22 +03:00
Vitaliy Filippov 7a55d59266 Fix vitastor-kv hang on reopen & unfinished closed listing
Test / test_minsize_1 (push) Has been cancelled Details
Test / test_move_reappear (push) Has been cancelled Details
Test / test_rm (push) Has been cancelled Details
Test / test_snapshot_chain (push) Has been cancelled Details
Test / test_snapshot_chain_ec (push) Has been cancelled Details
Test / test_snapshot_down (push) Has been cancelled Details
Test / test_snapshot_down_ec (push) Has been cancelled Details
Test / test_splitbrain (push) Has been cancelled Details
Test / test_rebalance_verify (push) Has been cancelled Details
Test / test_rebalance_verify_imm (push) Has been cancelled Details
Test / test_rebalance_verify_ec (push) Has been cancelled Details
Test / test_rebalance_verify_ec_imm (push) Has been cancelled Details
Test / test_switch_primary (push) Has been cancelled Details
Test / test_write (push) Has been cancelled Details
Test / test_write_xor (push) Has been cancelled Details
Test / test_write_no_same (push) Has been cancelled Details
Test / test_heal_pg_size_2 (push) Has been cancelled Details
Test / test_heal_ec (push) Has been cancelled Details
Test / test_heal_csum_32k_dmj (push) Has been cancelled Details
Test / test_heal_csum_32k_dj (push) Has been cancelled Details
Test / test_heal_csum_32k (push) Has been cancelled Details
Test / test_heal_csum_4k_dmj (push) Has been cancelled Details
Test / test_heal_csum_4k_dj (push) Has been cancelled Details
Test / test_heal_csum_4k (push) Has been cancelled Details
Test / test_scrub (push) Has been cancelled Details
Test / test_scrub_zero_osd_2 (push) Has been cancelled Details
Test / test_scrub_xor (push) Has been cancelled Details
Test / test_scrub_pg_size_3 (push) Has been cancelled Details
Test / test_scrub_pg_size_6_pg_minsize_4_osd_count_6_ec (push) Has been cancelled Details
Test / test_scrub_ec (push) Has been cancelled Details
2024-03-07 19:13:24 +03:00
1 changed files with 5 additions and 10 deletions

View File

@ -197,7 +197,6 @@ struct kv_op_t
void exec(); void exec();
void next(); // for list void next(); // for list
~kv_op_t();
protected: protected:
int recheck_policy = KV_RECHECK_LEAF; int recheck_policy = KV_RECHECK_LEAF;
bool started = false; bool started = false;
@ -1004,15 +1003,6 @@ void kv_op_t::exec()
finish(-ENOSYS); finish(-ENOSYS);
} }
kv_op_t::~kv_op_t()
{
if (started && !done)
{
done = true;
db->active_ops--;
}
}
void kv_op_t::finish(int res) void kv_op_t::finish(int res)
{ {
auto db = this->db; auto db = this->db;
@ -2068,5 +2058,10 @@ void kv_dbw_t::list_next(void *handle, std::function<void(int res, const std::st
void kv_dbw_t::list_close(void *handle) void kv_dbw_t::list_close(void *handle)
{ {
kv_op_t *op = (kv_op_t*)handle; kv_op_t *op = (kv_op_t*)handle;
if (op->started && !op->done)
{
op->done = true;
op->db->active_ops--;
}
delete op; delete op;
} }