Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6864322rwr; Tue, 9 May 2023 23:55:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6MLWPR9RJldJ48XJs4zS8tLaP/TBLf9JK2hN8qgYiwm6ZcQAtzZsO1WGqCqq8mjMTBbYLK X-Received: by 2002:a05:6a00:2442:b0:63b:854e:8459 with SMTP id d2-20020a056a00244200b0063b854e8459mr20091348pfj.31.1683701708731; Tue, 09 May 2023 23:55:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683701708; cv=none; d=google.com; s=arc-20160816; b=jjD4p6CksRsY+ZuAQfgOu2PsJp/UI5l+OCzmBV9a6JY2F6imNSTJiH3BWuXg2iHbec tAfU3WWX8zF5MslCQTkHZMEokSPyjfy/Iga37U2UMhtG2h+6bKC+Xyb3Nl2S1h+p+8ij EEk4KOn7hiv7yEh2PWBtJ5yHXN/7v4YzWGXxxCVP0CutwQNZ44AhSObMtI60CfciyMTH 3uH7v2BCyngt4LGJKAyV2dy2taMY5B5rG3AobkriCJUjKCTJJedhvORz7w7lBzX8HcGj TFLDx/rBCkj99QitqnHEfgKVO2jFv+nprcEIMcOuH+cHV34ZT/2GElkBs4W+jYHFjTSN WU8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=H0dC0Fe8jI8GX9EpzUADStiCSMEdtO+6rHyd0pdPgpA=; b=vOnmqtnlmWyn8Mwr6AcSzBsXHHdLt8l+Bu7971ozWzYuaLc6j5wP7g+rie3b/7K/cF 2zh+WHJAoeMYxlnB7aHs8x+Iqi3IWDOMvZ57ak4kOQkFl30Gd0ZLt1DcCjoApkLVHQ1K qeN5M4jNhq0733TQS6zqHFVDyM0wsi+kkLEaEnRVj1oDpIQeIppwqALQK6FlhIFG+lha veOC+MQzJK6a3bncPFRxoDnTTBM1yh93hKAqpRQimG9ej9E+6oTZQe4OLL95nLsD0zI+ 3WFNpkacQtQptqomuXoqqO62KaXDckAR0e8rtFo0t95iW1mHwVgih9PwaSJbsZYC1pJW PuFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lE854Ka4; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 187-20020a6206c4000000b006484d88e90fsi678438pfg.82.2023.05.09.23.54.52; Tue, 09 May 2023 23:55:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lE854Ka4; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229737AbjEJGum (ORCPT + 99 others); Wed, 10 May 2023 02:50:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236040AbjEJGuk (ORCPT ); Wed, 10 May 2023 02:50:40 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EBF7268D for ; Tue, 9 May 2023 23:50:39 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C0B97639AB for ; Wed, 10 May 2023 06:50:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CDB66C433EF; Wed, 10 May 2023 06:50:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683701437; bh=HzYliJcxoAQC0s/j5n11YH8eHx0e5/qRksG+erRriLs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lE854Ka4kaG7nDjXR/RiF/m9jsEEl/BMwQ8nR98glqI2QlL3xMP3RSPIf9VmG7HA6 hj30NOjOocvSBFw23XMw06YTbgQyrMo72v7+RaMoZH8T/Pyu6txZZfMn4CnuoRimjk MACRTT5pB/OAjfvgu2kao1Hs4Y04B18V8XQsJOfgOAJ2vMhhh2RSDCGqbeQ0sVGJmk bh3R/KyL57LxPzP4sgIyxVaYVpm3TF2tcXUmwUJt6gd2NYQGPnVWP9TjN61u7Fc72Y itahVsW1WG17+9cZBPnMNx1I4BxetHpiHucBpihBGDuFavxAzqzNkC1a53V5AgLcIB r1a5BNQ5U3t7Q== Date: Tue, 9 May 2023 23:50:36 -0700 From: Eric Biggers To: youling 257 Cc: Theodore Ts'o , jack@suse.cz, hch@infradead.org, hch@lst.de, linux-ext4@vger.kernel.org, ritesh.list@gmail.com, keescook@chromium.org Subject: Re: [PATCH v4 12/13] ext4: Stop providing .writepage hook Message-ID: <20230510065036.GD1851@quark.localdomain> References: <20221207112722.22220-12-jack@suse.cz> <20230508175108.6986-1-youling257@gmail.com> <20230509050227.GA1180@quark.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, May 10, 2023 at 01:47:58PM +0800, youling 257 wrote: > I do more test, it is android esdfs or sdcardfs > /storage/emulated/0/Android/data problem, > "ext4: Stop providing .writepage hook" cause > /storage/emulated/0/Android/data/com.android.gallery3d/cache/imgcache.0 > /storage/emulated/0/Android/data/com.android.gallery3d/cache/imgcache.1 > /storage/emulated/0/Android/data/com.android.gallery3d/cache/imgcache.idx > unable read, > > on linux 6.4, i use mount bind data/media on storage/emulated, chmod > -R 0777 /data/media/0, rm > /storage/emulated/0/Android/data/com.android.gallery3d/cache/*, open > gallery app can read pictures thumbnail, > /storage/emulated/0/Android/data/com.android.gallery3d/cache/imgcache.idx > /storage/emulated/0/Android/data/com.android.gallery3d/cache/imgcache.0 > /storage/emulated/0/Android/data/com.android.gallery3d/cache/imgcache.1 > available read. Maybe try reverting your commit that added esdfs to your kernel? It should not be needed at all. - Eric