Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp432343ybh; Wed, 11 Mar 2020 04:03:53 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsdSXW2TcR4DJF/dFFwl+h1sUFENHXpZADOm/mXZLgkyYRwI89ZG5g/PQqhz9POze2e/P7A X-Received: by 2002:a4a:8112:: with SMTP id b18mr196173oog.65.1583924633362; Wed, 11 Mar 2020 04:03:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583924633; cv=none; d=google.com; s=arc-20160816; b=SFFU5PexlR21+MYO1Pw5n/+yI5Gydsb/asZrKybHzFTNyuwDFYi9sPQpPP5r0fAqEl h5++f/YW9pSaQYrhZpXpiRfzUJo0q+fBaEWdVgr9sL09QjpJZnDTSOuXcivWbwrQe0aO H4N1gXBw22aIxNi0TIb8oBl7Iiz4vgH3l9rV05Dm67HNWSwXRGb8hb9bkIcUBOCY5B3p Vw2w3kPJsJMGFPPOnVYSijhxyMEgxjbiYZRvFEIUdBt0QL6ItqutW3+ZE/kY5Lbxem6E MedIkoZGf2K4cpF2/Uzhppruh6OTWVkQ7hu6QIM7mwfE20iFkzes9RhlJ5BVe4Dck0pV Ch5A== 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:mail-followup-to:message-id:subject:cc:to :from:date:dkim-signature; bh=kjmfxj7Tv15/nFpfaXnaGf8uAzheW1BwYzvh2yNtPHw=; b=t2ZZHn8FpGNfEc01YWUxF9tMF4x/GBSA29tl7cFG72uhopjzmwYeOZNTlRK5UywXFp c3vxhJppoFho5xqSWIFw+cp3CllsvOx1Uc3XISoStqqPqj5S7kNuipUVk0SABwtHu2jG GPtYvw1KaeOaMwtHiJlDF+xsAX0w2Q/wg6MPV1fPcaOvoBddXXOaBUeVZUEsq0YqlA0P ++S/NZLYq5frTFbsedmKN0YmIiAVDeyKhDLkrAtnSz5i0rbUI+zbOyxtmxZgxuOkLSip FSFHj5aujQ7EcEnqfG9j9qD1w/2xRNegW52iov/ijFEPQAFZHMvQ2C4f0fOGX7UtAkpv GvUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xff.cz header.s=mail header.b=q1gWRADY; 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 i5si1027204oif.211.2020.03.11.04.03.28; Wed, 11 Mar 2020 04:03:53 -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=q1gWRADY; 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 S1729084AbgCKLBw (ORCPT + 99 others); Wed, 11 Mar 2020 07:01:52 -0400 Received: from vps.xff.cz ([195.181.215.36]:54858 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726000AbgCKLBw (ORCPT ); Wed, 11 Mar 2020 07:01:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xff.cz; s=mail; t=1583924511; bh=P6XGe2Y/JfrAmfvHCCn6nLtRPNSYzKFV+VBM9UgB3m0=; h=Date:From:To:Cc:Subject:References:X-My-GPG-KeyId:From; b=q1gWRADYxD/Lk+gYf4sKqAypi6n1psX3dYNFQY3jPlM1bX1aGg2FX2aR8js7PijZg vyfv2Qd3hOrxpv/6cp3zTHZLE+lSj1rHGQMKVQe7jgBg72Dh/JrbsEbQrn/qrA6Kmx r4G7Y0H4P2aIo8QDBjUgBBIxsHLRPconvVLPQTqE= Date: Wed, 11 Mar 2020 12:01:50 +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: <20200311110150.ajywqttf7pyrpnau@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: <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> <20200311103309.m52hdut7mt7crt7g@core.my.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-My-GPG-KeyId: EBFBDDE11FB918D44D1F56C1F9F0A873BE9777ED Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 11, 2020 at 06:51:23PM +0800, Chao Yu wrote: > Hi, > > >> 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, > > Alright. > > > so I reverted the compression support shortly after. > > What I can see is that filesystem was just stuck, rather than image became > corrupted, I guess the condition is not such bad, anyway, it's okay to just > revert compression support for now to keep fs stable. Yes, to be precise, file writes were not completed and fs was stuck. The system as a whole would probably become unbootable if this would happen to core libraries necessary for systemd, or something like that, but filesystem itself was not corrupted. Re-writing the files was enough to recover the system. I guess we'll see if there will be more reports after 5.6 is released, or if it's just some quirk in my system. I'll try to collect more information, once I'll have some time, to get to the bottom of this. thank you and regards, o.