Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp5687230rwb; Tue, 9 Aug 2022 02:18:34 -0700 (PDT) X-Google-Smtp-Source: AA6agR6RHDk9ZVGch+UhK2CBwhmkNIrE1qX2sO4IDdIdtgka1PlSNHmPcZ6M4n/4KN2GYQhF8WpC X-Received: by 2002:a17:907:d2a:b0:730:d34d:8a1c with SMTP id gn42-20020a1709070d2a00b00730d34d8a1cmr16088092ejc.574.1660036714742; Tue, 09 Aug 2022 02:18:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660036714; cv=none; d=google.com; s=arc-20160816; b=fRFbxM2l2wurbSMD6Eab6AGbxt/wH4nVMcR+EkEsuQYI2xkSnRDbXK/cm0j5/xRHgm l/53S/8BT40/VAl4+WA4hmMaFRsl+KMyKDmu9e2kIH+z81CpVJjy9N6sp/lgPGOp00gD hS8gXDHj7EGkVdqWWd6zo1LYhIKxjH+Es1KYl+ZraaaTMnXzsBTRJ+TUt5TiRpXFewfm 54VkMhdHu9yJMqDltNDtM0PuwuYOOTQf5+9HmOg0HeqliZFpY8YAU5MBXPXJvqb1D1wf 1xeogR/C0afVc0/i4KwofN5Rqr8pah08RyzA1MlO+yYyANS0hkYzP95ZlfXOsxjyl8oo 7iWg== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=rnKvsjRzjSZVAjcLrYl/OIdjQK2uj+t6rJ77SSO6CMM=; b=Lrf3NjNVXKOwZO2Ac+lf6g7ewAHnYA7gAV6LL4ySX/ZF5QzcUvDxmqkIkzjQUre+At bCv1AMpra86JapN2zkbnlvnqAsfAG01GHmHvrSBkf/La2ctiWoEFUp5X3LC6+JRqK9CM Cq3DloSWvSHjdxRf5N3jFYsr+sp3NyaRbf1qOm3Xem8O0k22/GLDNNUM8v8HoTx7hP9z oqCvddmygSHIrpzLVUUcQZhmOort5oePoJf1ihiwj31dlBAelB944tScX0FPfaRFPQjw QtX0iu/hgsiK9GzjrTPpGfgLgLCDjZ8OSzE+MIues1yvVB/sozBRQaTZoo1WNSE2X6VM X8pQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=UEOGGaqv; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j8-20020a056402238800b00440e91f3123si2636206eda.37.2022.08.09.02.18.10; Tue, 09 Aug 2022 02:18:34 -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=@chromium.org header.s=google header.b=UEOGGaqv; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231220AbiHIJMH (ORCPT + 99 others); Tue, 9 Aug 2022 05:12:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230508AbiHIJMG (ORCPT ); Tue, 9 Aug 2022 05:12:06 -0400 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFE2821808 for ; Tue, 9 Aug 2022 02:12:04 -0700 (PDT) Received: by mail-pf1-x42d.google.com with SMTP id h28so10236661pfq.11 for ; Tue, 09 Aug 2022 02:12:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=rnKvsjRzjSZVAjcLrYl/OIdjQK2uj+t6rJ77SSO6CMM=; b=UEOGGaqvsR2p1jHsaMP0Hmr/dYjSZxADudKeomtqEELhb112451c4ixhOoRdxhPh9A O9uFbOEeInN1y5q2uQK6VLjGjFItGb91DpDzAtToWtlhn64ekTEJmoKmWtiTPleEeKvO 6NJwgOOxwh99JVSXVCjE5YDMKPnR3WWnO/kDM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=rnKvsjRzjSZVAjcLrYl/OIdjQK2uj+t6rJ77SSO6CMM=; b=oi0fLEvvv5ufZzzY5T669tDDpWaxVLjReRI2gsPmPVJdiTSRkce0neQLLs5H73tn+N zzvlpENeINOWYZc915/7rf+1RtYcnYxGCRt4ICM2/j7R04P7q+vWhMJS6aRnvUWukRvE lNmL+LyRYQk36y9oG/2beqp3S198yvAk+qVB2U/ldD7lRoqQl9Bt3zl3/6Hktpx3qNar RI/60lI7Lr343LEUqPHeHkTj/l+yocOlVLmoxJJ28WRNu3Hy5g52RhJvz7QSNwQsw/si Aql1VB6vosjHb8pTYjrKJkd6eJ9pye9RVgF3ePLHyFATVt7gOVHXxzuzbwBtVYinwOnG nnaA== X-Gm-Message-State: ACgBeo1B1JhNST2NU/XTnM8MGWEqS7TG5Ol+IGAyP++SZxqSWRW8HBHr 2puPs4xsN50FwsApzsD8SqFKhQ== X-Received: by 2002:a63:6d2:0:b0:41c:18f2:8ec5 with SMTP id 201-20020a6306d2000000b0041c18f28ec5mr19158344pgg.197.1660036324302; Tue, 09 Aug 2022 02:12:04 -0700 (PDT) Received: from google.com ([240f:75:7537:3187:8d43:c739:457a:5504]) by smtp.gmail.com with ESMTPSA id t3-20020a1709027fc300b0016daee46b72sm10195159plb.237.2022.08.09.02.12.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Aug 2022 02:12:03 -0700 (PDT) Date: Tue, 9 Aug 2022 18:11:57 +0900 From: Sergey Senozhatsky To: Jiri Slaby Cc: Linus Torvalds , Linux Kernel Mailing List , minchan@kernel.org, ngupta@vflare.org, Jan Kara , Ted Ts'o , Andreas Dilger , Ext4 Developers List , avromanov@sberdevices.ru, ddrokosov@sberdevices.ru, Sergey Senozhatsky Subject: Re: ext2/zram issue [was: Linux 5.19] Message-ID: References: <702b3187-14bf-b733-263b-20272f53105d@kernel.org> <8710b302-9415-458d-f8a2-b78cc3a96e49@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FSL_HELO_FAKE, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 (22/08/09 17:43), Sergey Senozhatsky wrote: > On (22/08/09 10:12), Jiri Slaby wrote: > > > So currently, I blame: > > > commit e7be8d1dd983156bbdd22c0319b71119a8fbb697 > > > Author: Alexey Romanov > > > Date:?? Thu May 12 20:23:07 2022 -0700 > > > > > > ??? zram: remove double compression logic > > > > > > > > > /me needs to confirm. > > > > With that commit reverted, I see no more I/O errors, only oom-killer > > messages (which is OK IMO, provided I write 1G of urandom on a machine w/ > > 800M of RAM): > > Hmm... So handle allocation always succeeds in the slow path? (when we > try to allocate it second time) Yeah I can see how handle re-allocation with direct reclaim can make it more successful, but in exchange it oom-kills some user-space process, I suppose. Is oom-kill really a good alternative though?