Home
last modified time | relevance | path

Searched refs:flusher (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/md/dm-vdo/
H A Dflush.c23 struct flusher { struct
60 static inline void assert_on_flusher_thread(struct flusher *flusher, const char *caller) in assert_on_flusher_thread() argument
62 VDO_ASSERT_LOG_ONLY((vdo_get_callback_thread_id() == flusher->thread_id), in assert_on_flusher_thread()
72 static struct flusher *as_flusher(struct vdo_completion *completion) in as_flusher()
75 return container_of(completion, struct flusher, completion); in as_flusher()
115 struct flusher *flusher = pool_data; in allocate_flush() local
117 vdo_initialize_completion(&flush->completion, flusher->vdo, in allocate_flush()
137 int result = vdo_allocate(1, struct flusher, __func__, &vdo->flusher); in vdo_make_flusher()
142 vdo->flusher->vdo = vdo; in vdo_make_flusher()
143 vdo->flusher->thread_id = vdo->thread_config.packer_thread; in vdo_make_flusher()
[all …]
H A Dflush.h26 struct flusher;
30 void vdo_free_flusher(struct flusher *flusher);
32 thread_id_t __must_check vdo_get_flusher_thread_id(struct flusher *flusher);
34 void vdo_complete_flushes(struct flusher *flusher);
36 void vdo_dump_flusher(const struct flusher *flusher);
40 void vdo_drain_flusher(struct flusher *flusher, struct vdo_completion *completion);
42 void vdo_resume_flusher(struct flusher *flusher, struct vdo_completion *parent);
H A Dvdo.h212 struct flusher *flusher; member
H A Dlogical-zone.c277 vdo_complete_flushes(zone->zones->vdo->flusher); in notify_flusher()
302 vdo_get_flusher_thread_id(zone->zones->vdo->flusher)); in attempt_generation_complete_notification()
H A Dblock-map.c1543 if ((zone->flusher == NULL) && attempt_increment(zone)) { in enqueue_page()
1544 zone->flusher = page; in enqueue_page()
1589 if (zone->flusher == page) { in finish_page_write()
1602 zone->flusher = NULL; in finish_page_write()
1607 } else if ((zone->flusher == NULL) && vdo_waitq_has_waiters(&zone->flush_waiters) && in finish_page_write()
1609 zone->flusher = container_of(vdo_waitq_dequeue_waiter(&zone->flush_waiters), in finish_page_write()
1611 write_page(zone->flusher, pooled); in finish_page_write()
1647 if (zone->flusher == tree_page) in write_initialized_page()
1673 if ((zone->flusher != tree_page) && in write_page()
2109 if (zone->flusher != tree_page) { in finish_block_map_allocation()
[all …]
H A Dblock-map.h245 struct tree_page *flusher; member
H A Dvdo.c690 vdo_free_flusher(vdo_forget(vdo->flusher)); in vdo_destroy()
1628 vdo_dump_flusher(vdo->flusher); in vdo_dump_status()
H A Ddm-vdo-target.c2038 vdo_drain_flusher(vdo->flusher, completion); in suspend_callback()
2407 vdo_resume_flusher(vdo->flusher, completion); in resume_callback()
/linux/tools/testing/selftests/bpf/progs/
H A Dcgroup_hierarchical_stats.c84 int BPF_PROG(flusher, struct cgroup *cgrp, struct cgroup *parent, int cpu) in BPF_PROG()
83 BPF_PROG(flusher,struct cgroup * cgrp,struct cgroup * parent,int cpu) BPF_PROG() argument
/linux/Documentation/admin-guide/sysctl/
H A Dvm.rst169 flusher threads will start writeback.
183 flusher threads will start writing out dirty data.
208 for writeout by the kernel flusher threads. It is expressed in 100'ths
210 interval will be written out next time a flusher thread wakes up.
231 inode is old enough to be eligible for writeback by the kernel flusher threads.
238 The kernel flusher threads will periodically wake up and write `old` data