Re: [PATCH v3 5/5] btrfs: ensure that metadata and flush are issued from the root cgroup

2017-10-12 Thread David Sterba
On Thu, Oct 12, 2017 at 10:06:28AM -0700, Tejun Heo wrote: > Issuing metdata or otherwise shared IOs from !root cgroup can lead to > priority inversion. This patch ensures that those IOs are always > issued from the root cgroup. > > v3: Dropped unnecessary btree_inode handling as suggested by

[PATCH v3 5/5] btrfs: ensure that metadata and flush are issued from the root cgroup

2017-10-12 Thread Tejun Heo
Issuing metdata or otherwise shared IOs from !root cgroup can lead to priority inversion. This patch ensures that those IOs are always issued from the root cgroup. v3: Dropped unnecessary btree_inode handling as suggested by David Sterba. v2: Fixed missing @bh in submit_bh_blkcg_css() call.