From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f46.google.com ([209.85.214.46]:53963 "EHLO mail-it0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753558AbeGBVrq (ORCPT ); Mon, 2 Jul 2018 17:47:46 -0400 Received: by mail-it0-f46.google.com with SMTP id a195-v6so350600itd.3 for ; Mon, 02 Jul 2018 14:47:45 -0700 (PDT) Subject: Re: [PATCH 04/14] blk: introduce REQ_SWAP To: Josef Bacik , kernel-team@fb.com, linux-block@vger.kernel.org, akpm@linux-foundation.org, hannes@cmpxchg.org, tj@kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Cc: Josef Bacik References: <20180629192542.26649-1-josef@toxicpanda.com> <20180629192542.26649-5-josef@toxicpanda.com> From: Jens Axboe Message-ID: <702d4535-5ea7-8704-b23c-91c44fda34a8@kernel.dk> Date: Mon, 2 Jul 2018 15:47:41 -0600 MIME-Version: 1.0 In-Reply-To: <20180629192542.26649-5-josef@toxicpanda.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On 6/29/18 1:25 PM, Josef Bacik wrote: > From: Josef Bacik > > Just like REQ_META, it's important to know the IO coming down is swap > in order to guard against potential IO priority inversion issues with > cgroups. Add REQ_SWAP and use it for all swap IO, and add it to our > bio_issue_as_root_blkg helper. We should convert wbt to use that as well. -- Jens Axboe