cmogstored.git  about / heads / tags
alternative mogstored implementation for MogileFS
blob fcf4276446118ff68a2ce8b06c6e877fcf408654 451 bytes (raw)
$ git show HEAD:mnt.h	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
 
/*
 * Copyright (C) 2012-2020 all contributors <cmogstored-public@yhbt.net>
 * License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt>
 */
void mog_mnt_refresh(void);
const struct mount_entry * mog_mnt_acquire(dev_t);
void mog_mnt_release(const struct mount_entry *);
void mog_mnt_update_util(struct mog_iostat *);
char *mog_mnt_fetch_util(dev_t st_dev, char dst[MOG_IOUTIL_LEN]);

/* mnt_usable.c */
bool mog_mnt_usable(struct mount_entry *me);

git clone https://yhbt.net/cmogstored.git