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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
 
/*
 * Copyright (C) 2012-2020 all contributors <cmogstored-public@yhbt.net>
 * License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt>
 */

static inline void mog_activeq_add(struct mog_queue *q, struct mog_fd *mfd)
{
	mog_idleq_add(q, mfd, MOG_QEV_RW);
}

static inline void mog_activeq_push(struct mog_queue *q, struct mog_fd *mfd)
{
	mog_idleq_push(q, mfd, MOG_QEV_RW);
}

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