Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp971926lqs; Fri, 14 Jun 2024 10:42:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVTpTVEoA2B5Sh9GLC/8zTrbP72oxC6tzA271R9ujPZLoyWc6XAIXIKvijgQ1o7i4nHONNUWyx0IUO50KTirj+HfQawj7noX29I2n3bEg== X-Google-Smtp-Source: AGHT+IFlMH6+FuXjGD/kZ6dbVSWIbxR3sS3bTF0u20W+DUEqWdI/vM1rx1eDGri3cz+hw7y/G4Sn X-Received: by 2002:a05:6a20:a126:b0:1b6:da8b:ad with SMTP id adf61e73a8af0-1bae7f01d5bmr4271200637.34.1718386941800; Fri, 14 Jun 2024 10:42:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718386941; cv=pass; d=google.com; s=arc-20160816; b=KWK96B4x8jBXJA/tQPTF3L+h964RJdwJk3Xv+t/pxaRGeAMpumBIARS+tdjxRYMfSv eJxyFtvRna4vUOTVuQ8YYGgizkbkRWd2wMOiQoybxaEzcDrv6UWzNURONHVWwv3js6Ye rbpzEmTv2VVXHVMQZfbzM835u/jyhd7GZme54KD7G1Dj3gzHdjW+YOKjvBhstWz/S3u3 xebQ9y0KQPWYtVSp74ZA7Ny0vxFh6SGbqWJcdnF670w0jQ9iA88Tfx5HhHS/WTjlUvwq 6s08kMUeHDeEsyKx4ZX/M9WWNCCb9GxutUCP91df+DKgK9lDyI0tJPz7iN2sQ9P7mqt2 rC2g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=7dHUp5GqMpdx5VQ4GQ47gCY1IaP6VkrhDrYeOSheEP8=; fh=HHSR6Zyi1Ro7eP3NvK5QGnbgKL8EU42cnPy657ATBHQ=; b=dSX50e3rcfmldLZowV8ic1yAypvLv4jYYKmacT7Hqn8sYnHNPKCnyWUJ2I9cLwQvZX S2yCMRfAwTmUHzCEQS2zmaxRRq9C4iX3mz6Tg8BdtSgq0owsHhhDbMS1OSR9U5DsdMFN lWF0ClwXnxnIxc5NcivFcka3N9hA8+6jJvXrjC2pzaQOgMCXV049NONpCZV5+GSDL4lX R57bDGTLBe6qY5RSQtyLUGtKdwBwKGUaJFXPNqLe8ezGa4nmmjh2OMSlLLN9tBJ7oD8q cLb7sX1lLX7m1/zhmkOzPeGz5nyYx6CDgFJ3lsGmGnfUbbtOFAvO5/Bw7SstcldQNdr4 8CzQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="H6zHWbY/"; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-215038-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215038-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-705ccb9d254si3864632b3a.351.2024.06.14.10.42.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 10:42:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-215038-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="H6zHWbY/"; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-215038-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215038-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 8B09828DD95 for ; Fri, 14 Jun 2024 14:36:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 38CD914A9D; Fri, 14 Jun 2024 14:36:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="H6zHWbY/" Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CF541EAF0; Fri, 14 Jun 2024 14:36:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718375791; cv=none; b=r5oxJQB0/DHu+xN6Lv/JLm2yzbX4MNPCJYIMEryXmjDe8802DVpQ2f898Q0tP2Q6iJ6dxvJv5lv5BpAcfCExsyJ/eCNSf5bWqs0vcHrCHr77n3t3PjHpsDb8KzF0OG8SboU9THsSbG5RwP2a90pcGEBNVIQ4qtlCE+O8hhab2CE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718375791; c=relaxed/simple; bh=Zoj/dT5eLtnE7XO/yRCaT4Lj+WnWxVs4b53STnf+ekA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NoKsmXgCtY+6oE64/8SUjokzBDBYOLgkOq1S0K9HOe0aswvzoMHKDs7/qqhOpxqEhACcspzrYgU9ROBBY7rsBqy6k9cDLELGiPuoOhYO8yPBHsg2JIOtZqkX9BowLQXQxQt7sWDCWxMlx7uCDFZ/HZWQbhkvgpNIXdDSzSLO11U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=H6zHWbY/; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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; bh=7dHUp5GqMpdx5VQ4GQ47gCY1IaP6VkrhDrYeOSheEP8=; b=H6zHWbY/J/BDpzOz7VvVT4wO0v /41ceTTNPqv9ohID07wxX3PTRgT6tiRnqy5QgHoFIdo7LxrDLpnquPOCjbvRnEomg4HD+qdZDWyXw gTG16BO7IsbA31BrOSOl4jCqFlnFXfyW9XuGu6+tH2brQ1534LGOKHxd65iDSBr7yB/3uLLghoDfi iGMN36MHzNC+CDKAsPkTzqwwajpLgQqOsh6+/BQ7gWSw6C0iR3ir7Txg6EGYqTZJXkZqB5CO2yh+w aI4FXEShy/KLeYnd8/m3XT7Jbwec7KaZ94jlEczMfuXR+LFSseNtIOm/Gh09FEFFGA4hE1MP5zrVJ YRMzrD8Q==; Received: from willy by casper.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI82Q-0000000H3Eu-3YK4; Fri, 14 Jun 2024 14:36:23 +0000 Date: Fri, 14 Jun 2024 15:36:22 +0100 From: Matthew Wilcox To: "Pankaj Raghav (Samsung)" Cc: Brian Foster , Kent Overstreet , linux-bcachefs@vger.kernel.org, linux-kernel@vger.kernel.org, Pankaj Raghav Subject: Re: [PATCH 1/2] bcachefs: use FGP_WRITEBEGIN instead of combining individual flags Message-ID: References: <20240614105031.57032-1-kernel@pankajraghav.com> <20240614105031.57032-2-kernel@pankajraghav.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240614105031.57032-2-kernel@pankajraghav.com> On Fri, Jun 14, 2024 at 10:50:30AM +0000, Pankaj Raghav (Samsung) wrote: > ret = bch2_filemap_get_contig_folios_d(mapping, pos, end, > - FGP_LOCK|FGP_WRITE|FGP_STABLE|FGP_CREAT, > - mapping_gfp_mask(mapping), > - &fs); > + FGP_WRITEBEGIN, > + mapping_gfp_mask(mapping), &fs); Don't change the indentation here. In the next patch it makes the lines too long. In general, don't change the indentation. It's been one of the biggest pains of the folio conversion. "Oh, you changed the name of this function and now the arguments don't line up". Don't line up the arguments with the opening paren.