Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp645054rdb; Thu, 8 Feb 2024 17:29:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IEwI7d20K1abL0h8IGM5d3BfxmUZBBTIATL1i4wajdBR1ga8Pa38k09Zp4rNcvCKPOUAsfA X-Received: by 2002:a9d:4e93:0:b0:6e2:bc08:d9a0 with SMTP id v19-20020a9d4e93000000b006e2bc08d9a0mr64014otk.26.1707442146011; Thu, 08 Feb 2024 17:29:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707442145; cv=pass; d=google.com; s=arc-20160816; b=cIo2JoASW+qlfiDdq+KqyVjEUaDNrF2BvwZkCFoFEenhVxeas9nwd9rANcYX6g17vi SxpQMUPyUPEVpQse2uJL8bhn3ZtQRDyK4F8MQP+VZ3bGVDOlwqnxSpapgTaDfeqwzrJx NtwIdRMyOKBNlplnnB8NK45ZMhIZPzlnO0A2wR+0fMnAvLDdKoY/O7CsuUrdgQXZoq6t AnUghb5moGgWf3N14auMGxDUrHIWZIu4dWRLan2JClNLQhUnv56ugbCeeEt7lEofH53O QEfQvqVbllZxDoLK3kk+rVu3s+x0CPMAoszHkXrWAZqVwUpft0TZVNAF/G/mIwbRe7dx PeFg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=wu6GEbBipFa7DUcQHgPx5bUPL1eORflnOdQP6J6GMg4=; fh=ClzHg6ZMMItPvQ0RFk97wJc5JUjNcerC3MI1dTAuEkY=; b=0fW2TVeEhot4jl61U5i0f5+8ExDRpO0qprsKCP2aScKg5zMhODCPuvjqyhuMTB3Zuk 84yu5/BodKeW7gg8zrZRCfmD+LbTu6RUYOWBEybSckk0yvaopWoZacflqTeyvA0SLftx nlhWmckNbq6OpPuanL7N2fJIpkYeHdRiMXF8bUQ7r9BZySxTruqqq7SFAjnqhQFPqZBz AS03wrp3b+4U6diemIsMujheaQDy8S3BiUkUTCUt3JUICEMBPq32XzLUc8Ci8YY3NN8D QCSprqI/tzh3dLQAJ2OqUIR7sIYuYxudsGojtj1FPjy+B6TsxU0pOhNh+qoAxY8qpj3C JLIA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@debian.org header.s=smtpauto.stravinsky header.b="d/wxYcqx"; arc=pass (i=1 dkim=pass dkdomain=debian.org); spf=pass (google.com: domain of linux-kernel+bounces-58657-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58657-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCVC8Jb2c1jkOD6uK1iV67vvhg1Y3lA005bs+bdj6WSqx4arztc6AV0mMu5zJkMICPt+yZHysnC/1qWF9Om1HPeq7388LClyAG9jZwjFRQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id b132-20020a63348a000000b005dc422f080fsi814087pga.12.2024.02.08.17.29.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 17:29:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58657-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@debian.org header.s=smtpauto.stravinsky header.b="d/wxYcqx"; arc=pass (i=1 dkim=pass dkdomain=debian.org); spf=pass (google.com: domain of linux-kernel+bounces-58657-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58657-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DD06B28EF88 for ; Thu, 8 Feb 2024 20:20:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 891A33C463; Thu, 8 Feb 2024 20:19:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=debian.org header.i=@debian.org header.b="d/wxYcqx" Received: from stravinsky.debian.org (stravinsky.debian.org [82.195.75.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9B01738FB0; Thu, 8 Feb 2024 20:19:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=82.195.75.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707423586; cv=none; b=JdDdVNW9OqdaCL+TB0hOCVIdc5bgoHQzIiau6BzHW2aJn2RouaoAeabhpkyNUQcQERBnjTgC1GPF0TIfrYIqEECjeX+K4HAJyAoFNrAR7qBEbr5J+vi6vI/C+jMmZFP1KQRKipnC1qGTrLpH7Y9DrpWgBnzyv8U8/xzgh6UTnqQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707423586; c=relaxed/simple; bh=VPJkilQY0W3dQlN30OMPUbSBlEE8uurTighbY2OUl1o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=EghCy4lLinfc0ucpYmBtRRo6CgdmC4ZWsdITTm3tvWwiSCTVytiRYHaIfX5D9Ze8FTsqq609UzOZwF9Re/5Hch/Sff7uWNZQdAjE0QQGcm63mGMx2CXdh6hy8/Fg6Y2YaQHt5cVwyIt0N+0MELwTLC5qd4PXv4Gh+PGlEwOmR/c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org; spf=none smtp.mailfrom=debian.org; dkim=pass (2048-bit key) header.d=debian.org header.i=@debian.org header.b=d/wxYcqx; arc=none smtp.client-ip=82.195.75.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=debian.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; s=smtpauto.stravinsky; h=X-Debian-User:In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=wu6GEbBipFa7DUcQHgPx5bUPL1eORflnOdQP6J6GMg4=; b=d/wxYcqxezRwk3oH0dGbh/hO2D rb8pj4e8ja3ALbkbJ0Bc3wgt2O935lC4S0FMlxGTALODWyTTxhOozi+GsKqhgLl+/FxEl7Rh9Ktym 6CS0Yj7nqZQNdAL6VLSeQpM+gn7vNNT9PO4YoPmkHdDSNoSI7FmtK8VpU9XoRpz20B7b0eN486Gw5 yZQms++TtzxFNlWJKJCKRZO9ALebp0bkFXWrrlbR1U2vfJQBos6DVioYHZ+vn14PE9Nd8SgkqieiS Gfzl66uKn78MwwzlgyLwdAauK9zW7pYd1vieqIe1JuwxhLohL9HS/P+5l3wVoNOrJYKwbrcEyg+nH zNcsVAhA==; Received: from authenticated user by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2) (envelope-from ) id 1rYArs-00EMbv-RP; Thu, 08 Feb 2024 20:19:33 +0000 Received: by eldamar.lan (Postfix, from userid 1000) id 0FFEDBE2EE8; Thu, 8 Feb 2024 21:19:32 +0100 (CET) Date: Thu, 8 Feb 2024 21:19:32 +0100 From: Salvatore Bonaccorso To: Dhya , 1063422@bugs.debian.org, Jaegeuk Kim , Chao Yu Cc: linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, stable@vger.kernel.org, regressions@lists.linux.dev Subject: [regression 6.1.y] f2fs: invalid zstd compress level: 6 Message-ID: References: <170736382774.1975.1861975122613668970.reportbug@tsuga.picorealm.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <170736382774.1975.1861975122613668970.reportbug@tsuga.picorealm.net> X-Debian-User: carnil Hi Jaegeuk Kim, Chao Yu, In Debian the following regression was reported after a Dhya updated to 6.1.76: On Wed, Feb 07, 2024 at 10:43:47PM -0500, Dhya wrote: > Package: src:linux > Version: 6.1.76-1 > Severity: critical > Justification: breaks the whole system > > Dear Maintainer, > > After upgrade to linux-image-6.1.0-18-amd64 6.1.76-1 F2FS filesystem > fails to mount rw. Message in the boot journal: > > kernel: F2FS-fs (nvme0n1p6): invalid zstd compress level: 6 > > There was recently an f2fs patch to the 6.1 kernel tree which might be > related: https://www.spinics.net/lists/stable-commits/msg329957.html > > Was able to recover the system by doing: > > sudo mount -o remount,rw,relatime,lazytime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,active_logs=6,alloc_mode=default,checkpoint_merge,fsync_mode=posix,compress_algorithm=lz4,compress_log_size=2,compress_mode=fs,atgc,discard_unit=block,memory=normal /dev/nvme0n1p6 / > > under the running bad 6.1.0-18-amd64 kernel, then editing > /etc/default/grub: > > GRUB_DEFAULT="Advanced options for Debian GNU/Linux>Debian GNU/Linux, with Linux 6.1.0-17-amd64" > > and running 'update-grub' and rebooting to boot the 6.1.0-17-amd64 > kernel. The issue is easily reproducible by: # dd if=/dev/zero of=test.img count=100 bs=1M # mkfs.f2fs -f -O compression,extra_attr ./test.img # mount -t f2fs -o compress_algorithm=zstd:6,compress_chksum,atgc,gc_merge,lazytime ./test.img /mnt resulting in [ 60.789982] F2FS-fs (loop0): invalid zstd compress level: 6 A bugzilla report has been submitted in https://bugzilla.kernel.org/show_bug.cgi?id=218471 #regzbot introduced: v6.1.69..v6.1.76 #regzbot link: https://bugs.debian.org/1063422 #regzbot link: https://bugzilla.kernel.org/show_bug.cgi?id=218471 Regards, Salvatore