94 int lno,
const char *func)
96 static char buf[1024];
108 "Client ST assertion failed " 109 "[%s: line %d] %s on: %s\n",
file,
lno, func, str_c);
267 for (
i = 0;
i < nr_workers;
i++) {
294 for (
i = 0;
i < nr_workers;
i++) {
314 for (
i = 0;
i < nr_workers;
i++) {
395 if (try_cnt == max_try) {
397 "It takes too long waiting for OP " 400 "Kill me if you can't stand any longer\n");
407 if (M0_IN(
op->op_sm.sm_state,
static struct st_cleaning_bin * get_bin(void)
static struct st_cleaning_bin worker_bins[ST_MAX_WORKER_NUM]
static void ptr(struct m0_addb2__context *ctx, const uint64_t *v, char *buf)
struct st_worker_stat * st_get_worker_stat(int idx)
void st_cleaner_disable()
void m0_entity_fini(struct m0_entity *entity)
void m0_op_fini(struct m0_op *op)
void st_unmark_op(struct m0_op *op)
struct m0_entity ** sg_entities
void st_cleaner_empty_bin()
m0_time_t m0_time(uint64_t secs, long ns)
int32_t m0_op_wait(struct m0_op *op, uint64_t bits, m0_time_t to)
static bool st_cleaner_up_flags[ST_MAX_WORKER_NUM]
int64_t sws_nr_failed_asserts
void st_mark_op(struct m0_op *op)
static struct m0_addb2_callback c
static void release_op(struct m0_op *op)
void st_mark_ptr(void *ptr)
void st_unmark_entity(struct m0_entity *entity)
void console_printf(const char *fmt,...)
static void mem_free(const struct m0_be_btree *btree, struct m0_be_tx *tx, void *ptr)
void st_unmark_ptr(void *ptr)
#define MEM_ALLOC_ARR(arr, nr)
m0_time_t m0_time_from_now(uint64_t secs, long ns)
int st_get_worker_idx(pid_t tid)
void st_mark_entity(struct m0_entity *entity)
void m0_op_free(struct m0_op *op)
bool st_assertimpl(bool c, const char *str_c, const char *file, int lno, const char *func)
int m0_nanosleep(const m0_time_t req, m0_time_t *rem)