Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1281378pxb; Thu, 28 Oct 2021 00:20:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzhmFUHdjoSsKHExXZHBFoEr1UulibNrXs5wUiTsk8EW6dqY858htsUm+JAOlVe4ZsW4jv X-Received: by 2002:a50:d984:: with SMTP id w4mr3811940edj.375.1635405625526; Thu, 28 Oct 2021 00:20:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635405625; cv=none; d=google.com; s=arc-20160816; b=rIr4uOZk14itZlgVzr3zvcSaIbsgOFD/GyUONZYwwmRLH05rVWSwA28l+VVe0+XCF3 RbzdUJq9ZHm/07o3Xn3Y5o8rzL5/4ME2tUaj49CxgInwk2WC4KAXwFmf1+HTQCtb43nG NibLkLvQdNhuUkQJU9sTlEm36Rtcrg6VWVsVi46YULBenBqCUmOmRKmFSnFR7aAoAgLz wiYbun0Uxv325ecjIaP3HgZxxGizHNMw9zulCOW0hn14vTiUOLup1NcqXPIUwy4+3CBH gdJOETm3NNvyi2kcuH12YRBvbjF0RPWgA/u/66oDskxzeGqpoy0/pLrG1Cs8VM0L4krh ZRIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date; bh=OCJ8DAfSenIcBqK9/m6M/rsPeNsqZhR/enfZjzhxRKQ=; b=ui4Qv6+CpRKsMfcNYPOr0cAg6i1MDHlWJUWJGt1Z34unGxLkKKu7nNSgn/B7T7wx+b NweOY5yn7vPIfnLIPal33PwoTUicVCyom+kfbWosD3KkzbzOxjwzIMwdV/1IuTlBLleJ 0s2lv6gTIoEvWPz8PJnpQ2eF2GXkxJkA4AjKYep+XK8Bo2MOc0IT0vWmkFw92sCVm7+y OO/A9fUREuR78++eX2hktCj4zfIRlF7x0mpacN2FsV1JWI8WojnNRPz4p8oj3xQyV1hq pFInjBvopcEfbJ3d0PnOIZOAHFGhWD6ge2SwLVlETGDnF14spMXz1ELVCwNEbJNHnj2J Q1vw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z1si4185417edd.133.2021.10.28.00.20.01; Thu, 28 Oct 2021 00:20:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229878AbhJ1HSp convert rfc822-to-8bit (ORCPT + 99 others); Thu, 28 Oct 2021 03:18:45 -0400 Received: from lithops.sigma-star.at ([195.201.40.130]:51558 "EHLO lithops.sigma-star.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229784AbhJ1HSp (ORCPT ); Thu, 28 Oct 2021 03:18:45 -0400 Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 21E8261EAE61; Thu, 28 Oct 2021 09:16:17 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id JFCI-lQ7V8jh; Thu, 28 Oct 2021 09:16:16 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id AEB6760F6B63; Thu, 28 Oct 2021 09:16:16 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id EdzS24WRludn; Thu, 28 Oct 2021 09:16:16 +0200 (CEST) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id 8900E61EAE61; Thu, 28 Oct 2021 09:16:16 +0200 (CEST) Date: Thu, 28 Oct 2021 09:16:16 +0200 (CEST) From: Richard Weinberger To: schaecsn Cc: linux-mtd , linux-kernel , Stefan Schaeckeler Message-ID: <791707806.43634.1635405376333.JavaMail.zimbra@nod.at> In-Reply-To: <20211028062124.12539-1-schaecsn@gmx.net> References: <20211028062124.12539-1-schaecsn@gmx.net> Subject: Re: [PATCH v3] ubifs: ubifs to export filesystem error counters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF93 (Linux)/8.8.12_GA_3809) Thread-Topic: ubifs: ubifs to export filesystem error counters Thread-Index: GOJMgSWITBfEasKolYQiwLcyBXA7+Q== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Stefan, ----- Ursprüngliche Mail ----- > Von: "schaecsn" > An: "richard" , "linux-mtd" , "linux-kernel" > > CC: "Stefan Schaeckeler" > Gesendet: Donnerstag, 28. Oktober 2021 08:21:24 > Betreff: [PATCH v3] ubifs: ubifs to export filesystem error counters > From: Stefan Schaeckeler > > Not all ubifs filesystem errors are propagated to userspace. > > Export bad magic, bad node and crc errors via sysfs. This allows userspace > to notice filesystem errors: > > /sys/fs/ubifs/ubiX_Y/errors_magic > /sys/fs/ubifs/ubiX_Y/errors_node > /sys/fs/ubifs/ubiX_Y/errors_crc > > The counters are reset to 0 with a remount. > > Signed-off-by: Stefan Schaeckeler > --- > Changes in v3: > - Added Documentation/ABI/testing/sysfs-fs-ubifs > - Added Documentation/ABI/testing/sysfs-fs-ubifs to MAINTAINERS I asked for just the Documentation. v2 of your patch is already in linux-next. :-) Thanks, //richard