Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp4642496ybh; Tue, 6 Aug 2019 15:27:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqxb/jrwHG8GB73n162upoLi8RnLMtxIA7SmjBZu81m5PXmUMvtLz/G7epzV1DvWTrJwe/8v X-Received: by 2002:a17:902:7246:: with SMTP id c6mr5045705pll.203.1565130423977; Tue, 06 Aug 2019 15:27:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565130423; cv=none; d=google.com; s=arc-20160816; b=U1MXGFMU5FgnhMHjYJ3+ULDUfd7g3QVJ1gT/L9yKglC7C5kFw2Pbxs+PiQsLxucJo6 Ks+sdkQOpE0q1Tn7LUTyaLFME/LzCW48HEpmMgke2nJfSxrDMyPCZPLnp3s0CQicrBfO WqKAHFTiqdN9dh/5l571wtY+NV3RggOD3hi/bBzOI0hlj5d/p5vDH5ZZCr4h5l64JagM gCOEmCnVeTDXEd0493G79+h367SrPKoXX4Hs/Ulh5QbIE4k1vgL8AJuFhcaV4AJNux0S chmyCqMckhhkSCqIP22jNF3E29T8uEMJhl0o/GH20iwJdNuBhL5y71neai2seciuPbwM ZKsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=pH32zVB3+F/ChCdyTdMtG2lcokUsbDzNKurXgdNw+eM=; b=rcB+P1gisJlLkFUFWzVrPwzYFDLOM46yuteM9xI9nXFfv1Ya2Unu9W8Y0LBth7TNQC yPIfjL4tK+zFVj6T2HBol+qa45oVBmg/aT34Q+alewmGSnGKBQNyH/jU2VoOnW2nyBBi lBtTguVMzZMqBoL/566LPwe177cFB0N0+ccKRjGmQqnJFvnEZx5SXBUWjLGCCVbUbu5z P6QvmFESFLeTd/5/Phlty9jLrhCur7CF93ryyERgOOBwzXHVaApac1PVwe+WGlkxpI1n 2U9B4CHLuI5tZNersoGsw4j0ln//GEi6SamIZclqjQQCWMuTpnBSSWmffCatcM6sNuG6 k3uQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Bhd2VyLM; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t31si8954749plb.309.2019.08.06.15.26.38; Tue, 06 Aug 2019 15:27:03 -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=pass header.i=@google.com header.s=20161025 header.b=Bhd2VyLM; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727171AbfHFWZz (ORCPT + 99 others); Tue, 6 Aug 2019 18:25:55 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:33493 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726902AbfHFWZz (ORCPT ); Tue, 6 Aug 2019 18:25:55 -0400 Received: by mail-qt1-f196.google.com with SMTP id r6so82087741qtt.0 for ; Tue, 06 Aug 2019 15:25:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pH32zVB3+F/ChCdyTdMtG2lcokUsbDzNKurXgdNw+eM=; b=Bhd2VyLMdxTR0bfXCtkRvd/jZJ3GdIXDjv7Lpc7m8AFZoIU4VXg1rM3+cV8QSDHHAE jI7EEOQc7t6BSuBu77eQ4KrQRp0uvWLZcliRsoraFn9OyWAiRwUOap2E/hyp/Un+/XQH 5IHq5uDq79aLlRW6yvBzdaHLhAiKoagFPR8r/GFpl2GMz4eRR1RX023k9y63+D5chIbu dVVjwOYijQgfNhgIATTG8YgsgB+oJsHbQSmvmfc7HI7Vy3v7EVkcC6I08Ixv7W338IEn Sqgjj2VZaAkk0laEWkYSMlwx/qhPKukdcDMTOLmch/dhXZcS9ICe9eLQLQbKO36ATU2M oKiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pH32zVB3+F/ChCdyTdMtG2lcokUsbDzNKurXgdNw+eM=; b=rkk/+/q88L5QoE7A8qPbdDgPZrL+eRIdOVawanvwvVkULrXlFVPaTtZPbZwVuDHmW7 +T8eBDUce8jkQadXhIv/oN5RUxo692xx33zjdI83xjJMGIjulKfS8ZfQxJUbqgJwrUg4 OZhGmAN814JNor6Sbc1ejqsxRZrj5duh9czWgdDyq3G1fAJNacDuqMNmEILtUQMBSfwL Amp+xY8opwrUlk/FCAeVy+xNY3kYn7hsxjdl1NPddOwyrDmYH3MVgt9OdszOX1PCHAl0 6xIj1i6pK4u0BITKumRjVk2FWfeVIwCpLjiLuPmn+Ls11yDMCoUVHLlMBSzfs7V4JNSb GqyQ== X-Gm-Message-State: APjAAAWFWm/GDpiUjdoVMOQ74kxdmdbOHYoX1V/uF5WT6+czYyQMbBmg Xwp9AKnA57DhSEZPR/xJlOKWZNnbcBEQ76bWSFYpjQ== X-Received: by 2002:a0c:ad07:: with SMTP id u7mr5187740qvc.2.1565130354260; Tue, 06 Aug 2019 15:25:54 -0700 (PDT) MIME-Version: 1.0 References: <20190806220524.251404-1-balsini@android.com> In-Reply-To: <20190806220524.251404-1-balsini@android.com> From: Joel Fernandes Date: Tue, 6 Aug 2019 18:25:42 -0400 Message-ID: Subject: Re: [PATCH] loop: Add LOOP_SET_DIRECT_IO in compat ioctl To: Alessio Balsini Cc: "open list:BLOCK LAYER" , LKML , Jens Axboe , dvander@gmail.com, Yifan Hong , Greg Kroah-Hartman , "Cc: Android Kernel" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alessio, On Tue, Aug 6, 2019 at 6:05 PM Alessio Balsini wrote: > > Export LOOP_SET_DIRECT_IO as additional lo_compat_ioctl. > The input argument for this ioctl is a single long, in the end converted > to a 1-bit boolean. Compatibility is then preserved. > > Cc: Jens Axboe > Signed-off-by: Alessio Balsini This looks Ok to me, but I believe the commit message should also explain what was this patch "fixing", how was this lack of an "export" noticed, why does it matter, etc as well. thanks, - Joel > --- > drivers/block/loop.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/block/loop.c b/drivers/block/loop.c > index 3036883fc9f8..a7461f482467 100644 > --- a/drivers/block/loop.c > +++ b/drivers/block/loop.c > @@ -1755,6 +1755,7 @@ static int lo_compat_ioctl(struct block_device *bdev, fmode_t mode, > case LOOP_SET_FD: > case LOOP_CHANGE_FD: > case LOOP_SET_BLOCK_SIZE: > + case LOOP_SET_DIRECT_IO: > err = lo_ioctl(bdev, mode, cmd, arg); > break; > default: > -- > 2.22.0.770.g0f2c4a37fd-goog > > -- > To unsubscribe from this group and stop receiving emails from it, send an email to kernel-team+unsubscribe@android.com. >