Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp633949ybh; Wed, 22 Jul 2020 09:16:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+CdwSrC1d9fE5cNthC70RJbe56wOG13oRGyOqu1HbPkCgo655NcOPLWEOMAHYXcgnepe8 X-Received: by 2002:a17:906:edb3:: with SMTP id sa19mr288319ejb.21.1595434592895; Wed, 22 Jul 2020 09:16:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595434592; cv=none; d=google.com; s=arc-20160816; b=JD181SMQjqTZvaftOtJmSYU7srC5k6tqSmAIZLuwK0rne4hX/H3FSAmf2S/M5EPAAc HIoQjIoq/hORzvDwdguiX7QyAg5kMF9On8X32PPe7LMmLPJD0gyATsu1UuAdX060iBnj Bvm82VajMKcK0EvGBH3IdZFo1noCY8f86Twd6gDxZqGOKC9zYXzBefbYj3PB/CG6MdTP /hsBqccJaeRhuZVmRLM3l1MhNBu4Wewm9RKxRj0z8kNeUEdQL4R9fqXrLVY3e9PZ/B4z HzVqey5VYT7AD6iXNhBuF0WDHFtogOzqry1BTaG8KGLSfWvLrGcYr0BjAPNBeJdFCRPi WD7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=wngYaeffss/ZqmZUl6rKo1fTpBJT6kVj81mnBoaEJkk=; b=TnN0cljCwoxf0wdopImsFatmotUuo9SjjzOeKMsaAgF86HwO2e//pvH6hO2QahEhTw 2kV281nDdnonfeadNUAmZQOjer4zd6E4gdiP8/88ecBbim991axlo99dzubFC9TMSZlK sfzQ7O1H2gh4R08pmUnBSVemfHpqXEGzLwbR1QMPYbJgt4r+K+dWD9Un2oJonQsw4Rxl 93nQXGF+SzPjDRzw/zG1XC+psetp1BrgsHPU8n0gehFr39lIe8RGgaWa+5d44I4jdw6S b5Ay7U1v6L8YnAEdPXV9ph4Q5DxiVu8A6DSoQjr9M89ovqj/QApiuKd+xovkg2GSwXgu RRtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=tNfNeGvz; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u23si233578eds.479.2020.07.22.09.15.57; Wed, 22 Jul 2020 09:16:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=tNfNeGvz; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726916AbgGVQPu (ORCPT + 99 others); Wed, 22 Jul 2020 12:15:50 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:34916 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726784AbgGVQPu (ORCPT ); Wed, 22 Jul 2020 12:15:50 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 06MFuUmc190158; Wed, 22 Jul 2020 16:15:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2020-01-29; bh=wngYaeffss/ZqmZUl6rKo1fTpBJT6kVj81mnBoaEJkk=; b=tNfNeGvz1SSwZxRu9fuL4U85ibGGMw0IqTN16mViR+zPmIZ3snSn0UNYIExeUSQz7sWN c+Qw0iNhG1sFwBRadVu4Q1KZ1CRgsm/v7GoBgaWc0wwKzzlqbWYsFSFz0NLRYLkTHiKb DD9khdBj83kLpNL0l6UEqVxRBUhaGRRUWkk24RDeyDs58cIrEXrvLwO5yIvrXaE1ZZHU oOP5F/gDbOj7hlL0sCaUr5KbZqj3ve/JUgyRFFjFRVcC+4yzNMl0lgMA0cp9oQYZho/w wLIz8sBM0T9apd4/7RFzs+cnR/YJpWFYXzWVnn1kckJ+VgB3Rtdf5rMmJIe1ebDCDPJQ CA== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2130.oracle.com with ESMTP id 32brgrmaqr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 22 Jul 2020 16:15:31 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 06MFwB5L096647; Wed, 22 Jul 2020 16:15:30 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3030.oracle.com with ESMTP id 32erheh0mf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Jul 2020 16:15:30 +0000 Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 06MGFQFN011293; Wed, 22 Jul 2020 16:15:26 GMT Received: from localhost (/67.169.218.210) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 22 Jul 2020 09:15:25 -0700 Date: Wed, 22 Jul 2020 09:15:23 -0700 From: "Darrick J. Wong" To: Christoph Hellwig Cc: Dave Chinner , Goldwyn Rodrigues , Damien Le Moal , Naohiro Aota , Johannes Thumshirn , Matthew Wilcox , linux-btrfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, cluster-devel@redhat.com, linux-ext4@vger.kernel.org, linux-xfs@vger.kernel.org, Dave Chinner , Goldwyn Rodrigues Subject: Re: [PATCH 3/3] iomap: fall back to buffered writes for invalidation failures Message-ID: <20200722153744.GN3151642@magnolia> References: <20200721183157.202276-1-hch@lst.de> <20200721183157.202276-4-hch@lst.de> <20200721203749.GF3151642@magnolia> <20200722061850.GA24799@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200722061850.GA24799@lst.de> X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9690 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 spamscore=0 suspectscore=1 mlxlogscore=999 adultscore=0 mlxscore=0 bulkscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007220108 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9690 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 bulkscore=0 spamscore=0 impostorscore=0 suspectscore=1 adultscore=0 clxscore=1015 mlxlogscore=999 priorityscore=1501 phishscore=0 lowpriorityscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007220108 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, Jul 22, 2020 at 08:18:50AM +0200, Christoph Hellwig wrote: > On Tue, Jul 21, 2020 at 01:37:49PM -0700, Darrick J. Wong wrote: > > On Tue, Jul 21, 2020 at 08:31:57PM +0200, Christoph Hellwig wrote: > > > Failing to invalid the page cache means data in incoherent, which is > > > a very bad state for the system. Always fall back to buffered I/O > > > through the page cache if we can't invalidate mappings. > > > > > > Signed-off-by: Christoph Hellwig > > > Acked-by: Dave Chinner > > > Reviewed-by: Goldwyn Rodrigues > > > > For the iomap and xfs parts, > > Reviewed-by: Darrick J. Wong > > > > But I'd still like acks from Ted, Andreas, and Damien for ext4, gfs2, > > and zonefs, respectively. > > > > (Particularly if anyone was harboring ideas about trying to get this in > > before 5.10, though I've not yet heard anyone say that explicitly...) > > Why would we want to wait another whole merge window? Well it /is/ past -rc6, which is a tad late... OTOH we've been talking about this for 2 months now and most of the actual behavior change is in xfs land so maybe it's fine. :) --D