Home
last modified time | relevance | path

Searched refs:durability (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dsb-members_types.h14 u8 durability; member
Dextents.c674 : ca->mi.durability; in __extent_ptr_durability()
699 unsigned durability = 0; in bch2_bkey_durability() local
703 durability += bch2_extent_ptr_durability(c, &p); in bch2_bkey_durability()
706 return durability; in bch2_bkey_durability()
714 unsigned durability = 0; in bch2_bkey_durability_safe() local
719 durability += bch2_extent_ptr_durability(c, &p); in bch2_bkey_durability_safe()
722 return durability; in bch2_bkey_durability_safe()
1095 if (ca->mi.durability != 1) in bch2_extent_ptr_to_text()
1096 prt_printf(out, " d=%u", ca->mi.durability); in bch2_extent_ptr_to_text()
Ddata_update.c197 unsigned rewrites_found = 0, durability, i; in __bch2_data_update_index_update() local
275 durability = bch2_bkey_durability(c, bkey_i_to_s_c(insert)) + in __bch2_data_update_index_update()
285 durability - ptr_durability >= m->op.opts.data_replicas) { in __bch2_data_update_index_update()
286 durability -= ptr_durability; in __bch2_data_update_index_update()
Dalloc_foreground.c758 unsigned durability = ob_dev(c, ob)->mi.durability; in add_new_bucket() local
763 *nr_effective += durability; in add_new_bucket()
764 *have_cache |= !durability; in add_new_bucket()
803 if (!ca->mi.durability && *have_cache) { in bch2_bucket_alloc_set_trans()
913 if (!ca->mi.durability && in want_bucket()
1366 unsigned d = ob_dev(c, ob)->mi.durability; in deallocate_extra_replicas()
Dsysfs.c157 rw_attribute(durability);
779 sysfs_print(durability, ca->mi.durability); in SHOW()
Dmove.c905 (!ca || !ca->mi.durability)) in rereplicate_pred()
1017 unsigned durability = bch2_bkey_durability(c, k); in drop_extra_replicas_pred() local
1029 if (d && durability - d >= replicas) { in drop_extra_replicas_pred()
1031 durability -= d; in drop_extra_replicas_pred()
Dopts.h492 x(durability, u8, \
512 x(durability, BCH_MEMBER_DURABILITY) \
Dalloc_foreground.h198 (!ca->mi.durability && in bch2_alloc_sectors_append_ptrs_inlined()
Dsb-members.h332 .durability = BCH_MEMBER_DURABILITY(mi) in bch2_mi_to_cpu()
Djournal_io.c1440 if (!ca->mi.durability || in __journal_write_alloc()
1461 *replicas += ca->mi.durability; in __journal_write_alloc()
Dec.c1759 if (!ca->mi.durability) in ec_stripe_head_devs_update()
/linux-6.12.1/Documentation/filesystems/
Dpath-lookup.txt95 read-only protection and no durability of results, so care must be taken when
/linux-6.12.1/Documentation/
Dmemory-barriers.txt1962 durability domain.
1965 to ensure that stores have reached a platform durability domain. This ensures