Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4693064imm; Fri, 18 May 2018 09:06:37 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpSkWonJHg8gz6U8LDAm9tUD2l7PbrJRc3MQzm855FcceC4xqKbujtsM/F066e+7p813cpg X-Received: by 2002:a17:902:14cb:: with SMTP id y11-v6mr9932995plg.229.1526659597702; Fri, 18 May 2018 09:06:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526659597; cv=none; d=google.com; s=arc-20160816; b=0sb1ycu/RQuz4q4KeM4+00sgVbFyQo551pBdu2ALyoQt1Wg0hpbmCwDyaBDKeaJz6L Mj1NX0aNiOFFGeIEzfqN1HaEc3ewcc/+SQTOj5WqFS5ID9f4fFjC5dmUOJymHETB6eBI qcCMGW0POJSlkOHksIL5PpltIMOAI+fWsDhF6x0S3N6jj01bm9Q4RRcHbONooNa8qP5E yUY0LnOoaZu6O5GH+q9Eb656U4YWX4qR8JjUrhYyRLWMitGsiAHUyg6AAP5ipsj+riyn oFI3my4Gat4oby6vDO/mviXQtUqEAEzk7GV7y2j8L6gpUEK3cQmZRzH/dKE5e5e95332 INUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=F8h0hCXCm/MtPLMuyzHECcyu2aL5MVtuy6qblHuIEM0=; b=QYpfy59g5cVXZYFsYy1M59gguiM7sU/TolDH1rxP7Eiowkv/Gw4qhC4LAp7znQ+TaH 7WrnPxmwM9oKl4PrKpMU+Owd0m59mUAkYINXLOemtf6c8Gna5rcqj5KZmnu5hpqZT9W7 89Uip2GkOKxne/77zswaAjEI0bykE2yKtBkjl4L9/2+Z2UDnG16h0z50gngptJWKNjQ4 p5uzuBWWXZ0IOB7UIe/7b4pMjhLq+CetpngvuwUgYAPdyc5nAqPd5LbfnwTM8D45Tbj3 U/7y5TP0eetM+cB7OgcJxiF9fLhYlC0Uo4vaeljxGie3TbzBYJ8VI10u+cJgxQXu3aK+ QD4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=Vg3kNLwA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si7218958plr.483.2018.05.18.09.06.23; Fri, 18 May 2018 09:06:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=Vg3kNLwA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752237AbeERQEW (ORCPT + 99 others); Fri, 18 May 2018 12:04:22 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:33904 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751184AbeERQER (ORCPT ); Fri, 18 May 2018 12:04:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=F8h0hCXCm/MtPLMuyzHECcyu2aL5MVtuy6qblHuIEM0=; b=Vg3kNLwAIJEXUh74e2eYjprqv rHrNLvpCD8T0Jzhl+CX6TFpfoGwFDx2+GQie8zYmYhdd+o+6t0JkXPQfBFGwWKX4bPTi9OEwyusNh Oxbb1lEo5j43MzUVAcSbgIj0ITZwjld9Von+l+GMEJcjMUPwbv63zlkArCWzSBiKf8QZ2Ay8xsI7P HGzTXt7xSJLbBZEIE3MZbU6deDnoTWny0ZnNrj117sEnmD2UAh+lrm1m4pT+9BQRrp4O4Fw1spAbd ua9G2mNSFrpyv2MfXe9uq12NM0jj2JcuuXyjvuk6DO7xqR0eYKK0y3oDfb6OnX7bzmMFyRlUps6QY WjDxxbbfA==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1fJhrb-0000HG-5V; Fri, 18 May 2018 16:04:15 +0000 Date: Fri, 18 May 2018 09:04:15 -0700 From: Christoph Hellwig To: adam.manzanares@wdc.com Cc: viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org, axboe@kernel.dk, bcrl@kvack.org, mingo@kernel.org, peterz@infradead.org, pombredanne@nexb.com, gregkh@linuxfoundation.org, bigeasy@linutronix.de, rgoldwyn@suse.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-aio@kvack.org, linux-api@vger.kernel.org Subject: Re: [PATCH v4 1/3] block: add ioprio_check_cap function Message-ID: <20180518160415.GF22791@infradead.org> References: <20180517203803.2664-1-adam.manzanares@wdc.com> <20180517203803.2664-2-adam.manzanares@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180517203803.2664-2-adam.manzanares@wdc.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 17, 2018 at 01:38:01PM -0700, adam.manzanares@wdc.com wrote: > From: Adam Manzanares > > Aio per command iopriority support introduces a second interface between > userland and the kernel capable of passing iopriority. The aio interface also > needs the ability to verify that the submitting context has sufficient > priviledges to submit IOPRIO_RT commands. This patch creates the > ioprio_check_cap function to be used by the ioprio_set system call and also by > the aio interface. > > Signed-off-by: Adam Manzanares Looks fine, Reviewed-by: Christoph Hellwig