From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15B7DC433EF for ; Tue, 3 May 2022 14:36:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237119AbiECOjj (ORCPT ); Tue, 3 May 2022 10:39:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237210AbiECOjO (ORCPT ); Tue, 3 May 2022 10:39:14 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 544521FCE1 for ; Tue, 3 May 2022 07:35:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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=N8Nulet2cuwDxTro4ujyyIhyKtNfAj5bP/cgh9cSaIE=; b=tkugZvROCAQO6RzohwFuyNo/sd 0pcP3E4XQik9v08v/n2VmUjti/M7gRAsnjqwmQZ0PyxiT6qBFwj348BfbtC0jhE2rPOOlSKVpmB8E Q0T/77VX4vTjak0seUNBCiBlS0gPUFlVpG5LcxUsZT1CaR8IMofZmej9PYnficRcyufTic4ULkfEn Zz4uC0tBKe7ded25GhrNV8OoZRb9MbesehxQbWa1cqDLbqfc8MJNG3BneMHdcrwJeevxgwoNrPR3N 9B/1qGduufBKVbE518wgKMf960EM2WwFg7VvnxcA+tV4+c9YX/g5iKLLYTRL88iYa40TwYzx1/5vQ 4uxzFUQQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nltcr-006IOt-Um; Tue, 03 May 2022 14:35:41 +0000 Date: Tue, 3 May 2022 07:35:41 -0700 From: Christoph Hellwig To: "Matthew Wilcox (Oracle)" Cc: linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 01/69] scsicam: Fix use of page cache Message-ID: References: <20220429172556.3011843-1-willy@infradead.org> <20220429172556.3011843-2-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220429172556.3011843-2-willy@infradead.org> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Fri, Apr 29, 2022 at 06:24:48PM +0100, Matthew Wilcox (Oracle) wrote: > Filesystems do not necessarily set PageError; instead they will leave > PageUptodate clear on errors. We should also kmap() the page before > accessing it in case the page is allocated from HIGHMEM. The PageError to PageUptodate change looks sane. But block device page cache absolutely must not be in highmem, so I don't see a point in the kmap conversion here.