Re: [PATCH 05/14] swap,blkcg: issue swap io with the appropriate context

From: Randy Dunlap
Date: Tue Jul 03 2018 - 15:27:32 EST


On 07/03/2018 08:14 AM, Josef Bacik wrote:
> From: Tejun Heo <tj@xxxxxxxxxx>
>
> For backcharging we need to know who the page belongs to when swapping
> it out. We don't worry about things that do ->rw_page (zram etc) at the
> moment, we're only worried about pages that actually go to a block
> device.
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> Signed-off-by: Josef Bacik <jbacik@xxxxxx>
> Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>
> cked-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>

Checked-by: ? :)
copy-pasto

> ---
> block/bio.c | 24 ++++++++++++++++++++++++
> include/linux/bio.h | 7 +++++++
> mm/page_io.c | 1 +
> 3 files changed, 32 insertions(+)


--
~Randy