On 10.07.19 г. 22:28 ч., Tejun Heo wrote: > From: Chris Mason <c...@fb.com> > > btrfs_schedule_bio() hands IO off to a helper thread to do the actual > submit_bio() call. This has been used to make sure async crc and > compression helpers don't get stuck on IO submission. To maintain good > performance, over time the IO submission threads duplicated some IO > scheduler characteristics such as high and low priority IOs and they > also made some ugly assumptions about request allocation batch sizes. > > All of this cost at least one extra context switch during IO submission, > and doesn't fit well with the modern blkmq IO stack. So, this commit stops > using btrfs_schedule_bio(). We may need to adjust the number of async > helper threads for crcs and compression, but long term it's a better > path. > > Signed-off-by: Chris Mason <c...@fb.com> > Reviewed-by: Josef Bacik <jo...@toxicpanda.com> Reviewed-by: Nikolay Borisov <nbori...@suse.com> <snip>
- [PATCHSET v3 btrfs/for-next] btrfs: fix cgroup writeback s... Tejun Heo
- [PATCH 2/5] Btrfs: delete the entire async bio submis... Tejun Heo
- Re: [PATCH 2/5] Btrfs: delete the entire async bi... Nikolay Borisov
- [PATCH 5/5] Btrfs: extent_write_locked_range() should... Tejun Heo
- [PATCH 4/5] Btrfs: use REQ_CGROUP_PUNT for worker thr... Tejun Heo
- [PATCH 3/5] Btrfs: only associate the locked page wit... Tejun Heo
- Re: [PATCH 3/5] Btrfs: only associate the locked ... Nikolay Borisov
- Re: [PATCH 3/5] Btrfs: only associate the loc... Chris Mason
- Re: [PATCH 3/5] Btrfs: only associate the... Nikolay Borisov
- [PATCH 1/5] Btrfs: stop using btrfs_schedule_bio() Tejun Heo
- Re: [PATCH 1/5] Btrfs: stop using btrfs_schedule_... Nikolay Borisov
- Re: [PATCHSET v3 btrfs/for-next] btrfs: fix cgroup wr... David Sterba
- Re: [PATCHSET v3 btrfs/for-next] btrfs: fix cgrou... David Sterba
- Re: [PATCHSET v3 btrfs/for-next] btrfs: fix c... Tejun Heo
- Re: [PATCHSET v3 btrfs/for-next] btrfs: f... David Sterba