Project

General

Profile

Bug #9073 » journal.diff

jianpeng ma, 08/14/2014 10:58 PM

View differences:

src/os/FileJournal.cc
*Now we can only update journal header w/o other data.
*The seq of for write journal header is 0.So we don't check the p->seq
*/
if (p->seq) {
new_journaled_seq = p->seq;
completed_something = true;
}
aio_num--;
aio_bytes -= p->len;
......
}
// maybe write queue was waiting for aio count to drop?
aio_cond.Signal();
}
aio_cond.Signal();
}
#endif
(12-12/17)