Searched refs:CACHE_SET_IO_DISABLE (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/md/bcache/ |
H A D | writeback.c | 258 * CACHE_SET_IO_DISABLE might be set via sysfs interface, in update_writeback_rate() 262 test_bit(CACHE_SET_IO_DISABLE, &c->flags)) { in update_writeback_rate() 294 * CACHE_SET_IO_DISABLE might be set via sysfs interface, in update_writeback_rate() 298 !test_bit(CACHE_SET_IO_DISABLE, &c->flags)) { in update_writeback_rate() 496 !test_bit(CACHE_SET_IO_DISABLE, &dc->disk.c->flags) && in read_dirty() 573 !test_bit(CACHE_SET_IO_DISABLE, &dc->disk.c->flags) && in read_dirty() 748 !test_bit(CACHE_SET_IO_DISABLE, &c->flags)) { in bch_writeback_thread() 763 test_bit(CACHE_SET_IO_DISABLE, &c->flags)) { in bch_writeback_thread() 827 !test_bit(CACHE_SET_IO_DISABLE, &c->flags) && in bch_writeback_thread()
|
H A D | alloc.c | 289 test_bit(CACHE_SET_IO_DISABLE, &ca->set->flags)) { \ 396 /* No allocation if CACHE_SET_IO_DISABLE bit is set */ in bch_bucket_alloc() 397 if (unlikely(test_bit(CACHE_SET_IO_DISABLE, &ca->set->flags))) in bch_bucket_alloc() 491 /* No allocation if CACHE_SET_IO_DISABLE bit is set */ in __bch_bucket_alloc_set() 492 if (unlikely(test_bit(CACHE_SET_IO_DISABLE, &c->flags))) in __bch_bucket_alloc_set()
|
H A D | super.c | 1632 if (test_and_set_bit(CACHE_SET_IO_DISABLE, &c->flags)) in bch_cache_set_error() 1633 pr_info("CACHE_SET_IO_DISABLE already set\n"); in bch_cache_set_error() 1728 if (!test_bit(CACHE_SET_IO_DISABLE, &c->flags)) in CLOSURE_CALLBACK() 1754 * This function is only called when CACHE_SET_IO_DISABLE is set, which means 1827 if (test_bit(CACHE_SET_IO_DISABLE, &c->flags)) in CLOSURE_CALLBACK() 1962 WARN_ON(test_and_clear_bit(CACHE_SET_IO_DISABLE, &c->flags)); in bch_cache_set_alloc()
|
H A D | request.c | 1193 if (unlikely((d->c && test_bit(CACHE_SET_IO_DISABLE, &d->c->flags)) || in cached_dev_submit_bio() 1298 if (unlikely(d->c && test_bit(CACHE_SET_IO_DISABLE, &d->c->flags))) { in flash_dev_submit_bio()
|
H A D | btree.c | 1842 /* if CACHE_SET_IO_DISABLE set, gc thread should stop too */ in bch_btree_gc() 1853 } while (ret && !test_bit(CACHE_SET_IO_DISABLE, &c->flags)); in bch_btree_gc() 1890 test_bit(CACHE_SET_IO_DISABLE, &c->flags) || in bch_gc_thread() 1894 test_bit(CACHE_SET_IO_DISABLE, &c->flags)) in bch_gc_thread()
|
H A D | journal.c | 931 /* No journaling if CACHE_SET_IO_DISABLE set already */ in bch_journal() 932 if (unlikely(test_bit(CACHE_SET_IO_DISABLE, &c->flags))) in bch_journal()
|