Searched refs:journal (Results 1 – 9 of 9) sorted by relevance
/drivers/md/bcache/ |
D | journal.c | 38 struct journal_device *ja = &ca->journal; in journal_read_bucket() 42 struct jset *j, *data = ca->set->journal.w[0].data; in journal_read_bucket() 187 struct journal_device *ja = &ca->journal; in bch_journal_read() 292 c->journal.seq = list_entry(list->prev, in bch_journal_read() 305 struct journal *j = &c->journal; in bch_journal_mark() 425 if (c->journal.btree_flushing) in btree_flush_write() 428 spin_lock(&c->journal.flush_write_lock); in btree_flush_write() 429 if (c->journal.btree_flushing) { in btree_flush_write() 430 spin_unlock(&c->journal.flush_write_lock); in btree_flush_write() 433 c->journal.btree_flushing = true; in btree_flush_write() [all …]
|
D | journal.h | 104 struct journal { struct 162 (fifo_idx(&(c)->journal.pin, (l)) > fifo_idx(&(c)->journal.pin, (r))) 177 void bch_journal_next(struct journal *j);
|
D | super.c | 1642 if (c->journal.cur) { in cache_set_flush() 1643 cancel_delayed_work_sync(&c->journal.work); in cache_set_flush() 1645 c->journal.work.work.func(&c->journal.work.work); in cache_set_flush() 1850 LIST_HEAD(journal); in run_cache_set() 1864 if (bch_journal_read(c, &journal)) in run_cache_set() 1870 if (list_empty(&journal)) in run_cache_set() 1873 j = &list_entry(journal.prev, struct journal_replay, list)->j; in run_cache_set() 1926 bch_journal_mark(c, &journal); in run_cache_set() 1935 bch_journal_next(&c->journal); in run_cache_set() 1956 if (bch_journal_replay(c, &journal)) in run_cache_set() [all …]
|
D | Makefile | 6 io.o journal.o movinggc.o request.o stats.o super.o sysfs.o trace.o\
|
D | bcache.h | 455 struct journal_device journal; member 689 struct journal journal; member
|
D | btree.c | 343 if (w->journal) { in btree_complete_write() 344 atomic_dec_bug(w->journal); in btree_complete_write() 345 __closure_wake_up(&b->c->journal.wait); in btree_complete_write() 349 w->journal = NULL; in btree_complete_write() 547 if (w->journal && in bch_btree_leaf_dirty() 548 journal_pin_cmp(b->c, w->journal, journal_ref)) { in bch_btree_leaf_dirty() 549 atomic_dec_bug(w->journal); in bch_btree_leaf_dirty() 550 w->journal = NULL; in bch_btree_leaf_dirty() 553 if (!w->journal) { in bch_btree_leaf_dirty() 554 w->journal = journal_ref; in bch_btree_leaf_dirty() [all …]
|
D | btree.h | 106 atomic_t *journal; member
|
D | sysfs.c | 742 sysfs_print(active_journal_entries, fifo_used(&c->journal.pin)); in SHOW()
|
/drivers/md/ |
D | dm-integrity.c | 163 struct page_list *journal; member 672 return access_page_list(ic, ic->journal, section, offset, NULL); in access_journal() 791 source_pl = ic->journal; in xor_journal() 795 target_pl = ic->journal; in xor_journal() 958 io_req.mem.ptr.pl = &ic->journal[pl_index]; in rw_journal_sectors() 1076 io_req.mem.ptr.pl = &ic->journal[pl_index]; in copy_from_journal() 2501 block_bitmap_op(ic, ic->journal, dio->range.logical_sector, in bitmap_block_work() 2555 block_bitmap_op(ic, ic->journal, 0, limit, BITMAP_OP_CLEAR); in bitmap_flush_work() 2640 DEBUG_bytes(lowmem_page_address(ic->journal[0].page), 64, "decrypted journal"); in replay_journal() 2851 block_bitmap_copy(ic, ic->recalc_bitmap, ic->journal); in dm_integrity_resume() [all …]
|