Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2615816pxj; Mon, 14 Jun 2021 03:06:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpHAAUPlkOp2ZQ95RhrMumnz0hrgtuieQjBOITaEad5pgdPgNujYWjrjfv5JRHoIZMl/Oc X-Received: by 2002:a05:6402:366:: with SMTP id s6mr16330544edw.209.1623665219058; Mon, 14 Jun 2021 03:06:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623665219; cv=none; d=google.com; s=arc-20160816; b=vbL4WSf/1iXiHVxCkKl/5SlfdiCXkhvHKBgFdAPm381lDVVh1jE0+zFvy1jXtoinUU T9Nd7joVy2NmtC39p19PFzjUBEeEfg6DtZmxT0xKnltUGDOvjSZK9/eWUpqkfdbajlO/ dCZYTW7HrOtLOUp2ntrIWHwG5dVia7B3+Oy6g7j/KGM+er6YmRSjhi3SUSzDWi2v+lIU Xngg7Jv45EhAz6KPLbXaqI9RjDMrFCell3Vfe8wSAKN5npang4LCAgcVTmTgob3e4cH4 Mmf+PKANk0yLFwi1gzCS4h9la/uZzRRchy7n4kG7YuhdDikCT7is7Di9l8qzld6N0VlM 3+jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=eZJiQvJ2a6rxqm0o+lPeznVe9sFcp/pdI2U4jqXqous=; b=LV5JqFmM+ThytdEnpqM7XQCh7ZW6dwn4Bxj/KHUv+fA3nbRqVWuBZKcthEpT0Rb7OM pGMAG/GRpnNCeeZ8cjb+FsIdMnF/yBm8VAN1DVKscQkjR/wxXAk7EpiwBOXZHH3NcRx8 XE5P6JFoWcAf5cOMNi+A3GQC1FePfJoqxondl4TlLDAwwSnScfVPhVKrw7Q32gEt5FHb ZJLPDhPMybiBdDsDNtq6a+zchAfHvMzhiowmhnCiK1wWzncqJxSmHH9rLmXuWbzCjmN8 PJ5tRXETIYT+buBUCc0mDDXzh4mPGVOdZw1XL1HJ5zbNqzA9brPvAtFvR+gNUx04SDv4 se4w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n16si4684626edw.182.2021.06.14.03.06.35; Mon, 14 Jun 2021 03:06:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232743AbhFNKFk (ORCPT + 99 others); Mon, 14 Jun 2021 06:05:40 -0400 Received: from verein.lst.de ([213.95.11.211]:43440 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232579AbhFNKFj (ORCPT ); Mon, 14 Jun 2021 06:05:39 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id C9C1368AFE; Mon, 14 Jun 2021 12:03:34 +0200 (CEST) Date: Mon, 14 Jun 2021 12:03:34 +0200 From: Christoph Hellwig To: Jan Kara Cc: Christoph Hellwig , Andrew Morton , Al Viro , Greg Kroah-Hartman , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] mm: require ->set_page_dirty to be explicitly wire up Message-ID: <20210614100334.GA10629@lst.de> References: <20210614061512.3966143-1-hch@lst.de> <20210614061512.3966143-4-hch@lst.de> <20210614095107.GD26615@quack2.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210614095107.GD26615@quack2.suse.cz> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 14, 2021 at 11:51:07AM +0200, Jan Kara wrote: > On Mon 14-06-21 08:15:12, Christoph Hellwig wrote: > > Remove the CONFIG_BLOCK default to __set_page_dirty_buffers and just > > wire that method up for the missing instances. > > > > Signed-off-by: Christoph Hellwig > > Make sense. Did you somehow autogenerate this? If this patch would race > with addition of new aops struct, we'd get null-ptr-defer out of that so > maybe providing the script would be better. But other than that the changes > look good to me. You can add: No, this was done manually as I audited all instances for actually being able to dirty pages.