diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-07-26 05:59:18 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-07-26 06:14:28 +0000 |
commit | 1aef50d0091d1e710648ccade913ea80238520d9 (patch) | |
tree | dc8b9aafd58ae1dc1bf7ba1dc6a224d06494fec5 /ioq.c | |
parent | 596dbef8b4b23657fd78dca4bc55e261c3f6b376 (diff) | |
download | cmogstored-st-wip-broken.tar.gz |
Diffstat (limited to 'ioq.c')
-rw-r--r-- | ioq.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -100,6 +100,7 @@ bool mog_ioq_ready(struct mog_ioq *ioq, struct mog_fd *mfd) mog_ioq_current = ioq; } else { + TRACE(CMOGSTORED_IOQ_BLOCKED(mfd->fd)); mfd->ioq_blocked = 1; SIMPLEQ_INSERT_TAIL(&ioq->ioq_head, mfd, ioqent); ioq_set_contended(ioq); @@ -213,6 +214,7 @@ bool mog_ioq_unblock(struct mog_fd *mfd) if (mfd->ioq_blocked == 0) return false; + TRACE(CMOGSTORED_IOQ_UNBLOCKED(mfd->fd)); mfd->ioq_blocked = 0; return true; } |