Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp5662831rwb; Tue, 9 Aug 2022 01:46:18 -0700 (PDT) X-Google-Smtp-Source: AA6agR6DE5QBNIWcbARTpv8HRzmTyDvA+9wH6Bu6T9yBYe4yl2ARADnFTojKOS50VIGL2S4nlasg X-Received: by 2002:a17:902:6b0b:b0:16c:e69c:bb11 with SMTP id o11-20020a1709026b0b00b0016ce69cbb11mr22223754plk.147.1660034778455; Tue, 09 Aug 2022 01:46:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660034778; cv=none; d=google.com; s=arc-20160816; b=GZhMk3tGFyq+3Yle91hmZIgrp6Whhgc0wzfxXzqBGhY43IjRFT9VHBkPgEoaKureyw F/ZJznsLW33fYyK64+HPotgTHdkU01cBvpfOSbNhneJfQ0EFhVWisqOPzoUTVC1inKZ4 Q/JpgsU2NExpZGv6ggL0F+/WO1PlpK51NWKU6CGcJ8hStd8T9B/q3KM0rHaWseG7EQ2j Dl2tPaqV9za4LoyR8H0Gm7IdlIcCFqfmS8Bb1cG2EEvry4s47zG1Mkc0dY0iZjLqR51h S4pSvtY4iU+eDfNdduC/NV2vGPKEWvfAnNu5eLWjqH92Ols/KWkHK/ukglHY5zqcpj+A snwQ== 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=elUvtuL2kVb/35W5CxmDRBxZyU1x7DcPOf19Y83reF8=; b=tYeUth3EhDpa7Yyhr607ajGcrS4WzPxiT5VPC4aHx988dQvRnbWYldYFq0TymxIMCy hkCVNxE0w0pgbCqX39km0vfiwDZwIevymLzdXajrixi17Aye5aKXFm/NKaAB2OEUSv4d BpTB1IaweSD8DZ/s1fX+2zX3OEGbifAIcVoT7zsD7mDlhpR6BYpEhGZxMOLdSzKMX20j bqnqLQ76e9E0T290BOvAMfqIbNVnVld/Ly+jL+VTa+s0wbgQ4HLSIA/uixy1SsqxaPXj fk/YvWiHdqpJhBD+OWIshvUT5TUzd+aFCBV2IJsNQXrKnU6INfm1FsA2z68Vo4swS/ur K/GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=QhQXR+ze; 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 q18-20020a170902dad200b0016ef7232e66si7517442plx.372.2022.08.09.01.45.50; Tue, 09 Aug 2022 01:46:18 -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=QhQXR+ze; 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 S239073AbiHIInd (ORCPT + 99 others); Tue, 9 Aug 2022 04:43:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230508AbiHIInc (ORCPT ); Tue, 9 Aug 2022 04:43:32 -0400 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0838F6359 for ; Tue, 9 Aug 2022 01:43:32 -0700 (PDT) Received: by mail-pj1-x102d.google.com with SMTP id 15-20020a17090a098f00b001f305b453feso16973754pjo.1 for ; Tue, 09 Aug 2022 01:43:32 -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=elUvtuL2kVb/35W5CxmDRBxZyU1x7DcPOf19Y83reF8=; b=QhQXR+ze135sBCyHeBinXlq3LyTr23aiTe92VwEeK6+KGVzALtHtda+p/RExqhae65 pK4Mr2JTOtRoXlsalpWX4nHOkidQgoOxrb0c2wvAKtIfeD1FQ6xtcYKe1lTDfJmLQ7r/ dzyc/hvlG9nQmeJ11oxVFoJcUETNGeJBhqn5s= 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=elUvtuL2kVb/35W5CxmDRBxZyU1x7DcPOf19Y83reF8=; b=Xluk0cwC8z9q1NJ6yJMFTS8nhfPNCNROPmcA4G9aFBxyK2S5kRiXzqmBjQ+I4Oyst7 Ga1MQbAe4hAVTYhLbV8Ts9nl4Q+zAsgACk1hfkZyF2FLzUqhYHzhZtMW9QTpue8J7uJl Qpbrx3YCui4Rjn5ZHkSSMiM7fvKNikXSLAip6WrFuMrEBjtevfccKkTcJL4cux+YeLAu IACTgJamKlcREvBQZ+cvmwddFUdpC1d+4XYlj7KbMZMfh4nrGKqko1fC+vA5oZCNaBQV t3s6XO+q4ct0dso0fpC80p1squkuvvJpm16yJfxn6yngeB8uQ4BF1L/BVj/MgaeFth+k lN8A== X-Gm-Message-State: ACgBeo0iPakyl8paaCOE7Q9VCc/O1KpyYSGyQtd6ad1d1Of6gd8ulIvi AqnH1flaL30Y5WtPNKhYUYy4iQ== X-Received: by 2002:a17:902:f60f:b0:16b:d172:4014 with SMTP id n15-20020a170902f60f00b0016bd1724014mr21921415plg.147.1660034611240; Tue, 09 Aug 2022 01:43:31 -0700 (PDT) Received: from google.com ([240f:75:7537:3187:8d43:c739:457a:5504]) by smtp.gmail.com with ESMTPSA id a4-20020a62d404000000b0052553215444sm10069448pfh.101.2022.08.09.01.43.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Aug 2022 01:43:30 -0700 (PDT) Date: Tue, 9 Aug 2022 17:43:24 +0900 From: Sergey Senozhatsky To: Jiri Slaby Cc: Linus Torvalds , Linux Kernel Mailing List , minchan@kernel.org, ngupta@vflare.org, Sergey Senozhatsky , Jan Kara , Ted Ts'o , Andreas Dilger , Ext4 Developers List , avromanov@sberdevices.ru, ddrokosov@sberdevices.ru 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: <8710b302-9415-458d-f8a2-b78cc3a96e49@kernel.org> 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 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)