コード例 #1
0
ファイル: plain_store.c プロジェクト: sheepdog-ng/sheepdog-ng
/*
 * Check if oid is in this nodes (if oid is in the wrong place, it will be moved
 * to the correct one after this call in a MD setup.
 */
bool default_exist(uint64_t oid, uint8_t ec_index)
{
	char path[PATH_MAX];

	get_store_path(oid, ec_index, path);

	return md_exist(oid, ec_index, path);
}
コード例 #2
0
ファイル: plain_store.c プロジェクト: DLag/sheepdog
/*
 * Check if oid is in this nodes (if oid is in the wrong place, it will be moved
 * to the correct one after this call in a MD setup.
 */
bool default_exist(uint64_t oid, uint8_t ec_index)
{
	return md_exist(oid, ec_index);
}
コード例 #3
0
ファイル: plain_store.c プロジェクト: sglwlb/sheepdog
bool default_exist(uint64_t oid)
{
	return md_exist(oid);
}