Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp410045ybh; Wed, 11 Mar 2020 03:34:10 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvOC1f+HzIvGLYnLoGte3cFWDsYKpA1hUvqSTIVrBAglvHyhDsbgyVxIXB3EankFbkU713Q X-Received: by 2002:aca:4444:: with SMTP id r65mr928288oia.76.1583922850495; Wed, 11 Mar 2020 03:34:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583922850; cv=none; d=google.com; s=arc-20160816; b=noD1QsEsM8Qq4bSWn230L0Wgu79NoICCUeq5ar3bQ6lraefgO+NhrB5Cqx4XqMPBzD UoYjpZAZ6LcJkXlKyib7wYCInXE3W9CMvJ/G6ygiOf62LTzl/qcPJDoOL7xHdonPN2c6 o/38edDkQt0bHLoQo5gTxrD4pVtzu5rPWizQ+HmG5zei7L2jLIE/9nAMM4QgZUCk1kPN 3SQV8t1F5hyRqlQ+5mRPWow/Tqn6jlP3vWDYxyP8EFJtrdi+hT7taVfvQyKckbAnzW92 NiGRahz17wwhPckOTy1pQqsit83vWiAn1nPEzbphPCqJekOV1zOlqBkHp9nE7eGWFgPJ s88w== 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-transfer-encoding :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=Hjn5EASm7r1Z0v3eUcSV2Ti5eKFxKQwb9awrZoxAj78=; b=DfhCA7yGMUrFAiB22lARr5o53Wn6sVQwWoLZabsyTWnlB5YghRnEdZwt7YOC/3xJUh lhtjI48dMh2y4nVO9xcnzcl/zOtUoMzSAj617HHNdqxCnmeJKy9J/5lAqujVgOv+pwtE c0j84z+Pa6U1AQ1s/ThqQgLGaA6qjoj0GBEx9tmQRM0mcbFO+oVDoky8M5mILrsZ+90X JM1bN/UVqyyObU+gVyOuGHNFA/saLvk5hIyHr4GKi8CQTOE4LCnycF9M8x8RYKxRNSco kZVC9OVPGgTSpw0N+e3oheu6vaSgOFUlXLmnaYPbEREaRuTtzy1NDi2lfITCb0frdHbr oRng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xff.cz header.s=mail header.b=lTVVuMBW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=xff.cz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t20si947650oif.85.2020.03.11.03.33.59; Wed, 11 Mar 2020 03:34:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@xff.cz header.s=mail header.b=lTVVuMBW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=xff.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729055AbgCKKdM (ORCPT + 99 others); Wed, 11 Mar 2020 06:33:12 -0400 Received: from vps.xff.cz ([195.181.215.36]:54436 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726097AbgCKKdL (ORCPT ); Wed, 11 Mar 2020 06:33:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xff.cz; s=mail; t=1583922789; bh=dRISzFx2JBnu+jblONlXo7Qz3C235IdzslaBDbRSJHw=; h=Date:From:To:Cc:Subject:References:X-My-GPG-KeyId:From; b=lTVVuMBW551I+CuYrT2Oxr3TGIBNfsxiJ1SiQdI+OsJhMR+XiqK2ksEvOKHZ98q2H C2/OtC4nHLT7KTA4QTSDyYmzgcjKUxeUOpLsaYCgxlMh6Mwxw2c6AJlcL/K4faBiWd 0usBx2r7fLnIWusnXeVqJdru43cWl2x3aWIF/yp0= Date: Wed, 11 Mar 2020 11:33:09 +0100 From: =?utf-8?Q?Ond=C5=99ej?= Jirman To: Chao Yu Cc: Jaegeuk Kim , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Subject: Re: [f2fs-dev] Writes stoped working on f2fs after the compression support was added Message-ID: <20200311103309.m52hdut7mt7crt7g@core.my.home> Mail-Followup-To: =?utf-8?Q?Ond=C5=99ej?= Jirman , Chao Yu , Jaegeuk Kim , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net References: <20200224143149.au6hvmmfw4ajsq2g@core.my.home> <39712bf4-210b-d7b6-cbb1-eb57585d991a@huawei.com> <20200225120814.gjm4dby24cs22lux@core.my.home> <20200225122706.d6pngz62iwyowhym@core.my.home> <72d28eba-53b9-b6f4-01a5-45b2352f4285@huawei.com> <20200226121143.uag224cqzqossvlv@core.my.home> <20200226180557.le2fr66fyuvrqker@core.my.home> <7b62f506-f737-9fb2-6e8e-4b1c454f03b2@huawei.com> <20200306120203.2p34ezryzxb2jeuk@core.my.home> <0ce08d13-ca00-2823-94eb-8274c332a8ef@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <0ce08d13-ca00-2823-94eb-8274c332a8ef@huawei.com> X-My-GPG-KeyId: EBFBDDE11FB918D44D1F56C1F9F0A873BE9777ED Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Wed, Mar 11, 2020 at 05:02:10PM +0800, Chao Yu wrote: > Hi, > > Sorry for the delay. > > On 2020/3/6 20:02, Ondřej Jirman wrote: > > Hello, > > > > On Thu, Feb 27, 2020 at 10:01:50AM +0800, Chao Yu wrote: > >> On 2020/2/27 2:05, Ondřej Jirman wrote: > >>> > >>> No issue after 7h uptime either. So I guess this patch solved it for some > >>> reason. > >> > >> I hope so as well, I will send a formal patch for this. > > > > So I had it happen again, even with the patches. This time in f2fs_rename2: > > Oops, it looks previous fix patch just cover the root cause... :( > > Did this issue still happen frequently? If it is, would you please apply patch > that prints log during down/up semaphore. Not frequently. Just once. I couldn't afford FS corruption during update, so I reverted the compression support shortly after. But I wasn't stressing the system much with FS activity after applying the initial fix. > And once we revert compression support patch, this issue will disappear, right? Yes, AFAIK. I reverted it and run a few cycles of install 500MiB worth of packages, uninstall the packages with pacman. And it didn't re-occur. I never saw any issues with compression support patch reverted. > Btw, did you try other hardware which is not Arm v7? Yes, but I didn't ever see it on anything else. Just on two 8 core cortexes A7. (2 clusters) regards, o.