|
Motr
M0
|
#include <file.h>

Data Fields | |
| uint64_t | sf_magic |
| struct m0_file | sf_file |
| struct m0_fid | sf_fid |
| struct m0_cob_attr | sf_attr |
| uint64_t | sf_max_group |
| struct m0_poolmach * | sf_pm |
| struct m0_pooldev * | sf_pd |
| struct m0_layout * | sf_layout |
| struct m0_pdclust_instance * | sf_pi |
| struct m0_mutex | sf_lock |
| struct m0_hlink | sf_sc_link |
| struct m0_rm_owner | sf_owner |
| struct m0_rm_remote | sf_creditor |
| struct m0_rm_incoming | sf_rin |
| struct m0_sns_cm * | sf_scm |
| uint64_t | sf_ag_nr |
| struct m0_ref | sf_ref |
| struct m0_sm | sf_sm |
| struct m0_sm_group * | sf_group |
| struct m0_sm_ast | sf_attr_ast |
| struct m0_sm_ast | sf_fini_ast |
| struct m0_clink | sf_fini_clink |
| uint64_t | sf_nr_ios_visited |
| int | sf_rc |
Holds the rm file lock context of a file that is being repaired/rebalanced.
| uint64_t sf_ag_nr |
| struct m0_cob_attr sf_attr |
| struct m0_rm_remote sf_creditor |
| struct m0_fid sf_fid |
The global file identifier for this file. This would be used as a "key" to the m0_sns_cm::sc_file_ctx and hence cannot be a pointer.
| struct m0_file sf_file |
| struct m0_sm_group* sf_group |
| uint64_t sf_nr_ios_visited |
| struct m0_rm_owner sf_owner |
| struct m0_pooldev* sf_pd |
| struct m0_pdclust_instance* sf_pi |
| struct m0_poolmach* sf_pm |
| struct m0_ref sf_ref |
Holds the reference count for this object. The reference is incremented explicitly every time the file lock is acquired. The reference is decremented by calling m0_sns_cm_file_unlock(). The m0_sns_cm_file_ctx object is freed (and file is unlocked) whenever the reference count equals zero.
| struct m0_rm_incoming sf_rin |
| struct m0_hlink sf_sc_link |
Linkage into m0_sns_cm::sc_file_ctx.
| struct m0_sns_cm* sf_scm |