lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <22B492E0-135E-4CA0-97E5-9B733D7F0B65@dilger.ca>
Date:   Tue, 17 Apr 2018 23:19:38 -0600
From:   Andreas Dilger <adilger@...ger.ca>
To:     Wang Shilong <wangshilong1991@...il.com>
Cc:     Ext4 Developers List <linux-ext4@...r.kernel.org>,
        Liu Bo <bo.liu@...ux.alibaba.com>,
        Wang Shilong <wshilong@....com>,
        Shuichi Ihara <sihara@....com>, tytso@....edu
Subject: Re: [PATCH 1/4] ext4: fix wrong return value in
 ext4_read_inode_bitmap()

One thing that is (IMHO) missing from this patch series, is the last
patch that removes all of the calls to ext4_error() before calling
ext4_mark_group_bitmap_corrupted(), passing the error message as a
parameter, and cals save_error_info() in that function.

That would essentially change the code from aborting on any bitmap
error to marking the filesystem and block group in error (avoiding it
for any new allocations) but allows the filesystem to continue working.

We might consider to control this with a mount option, similar to the
"errors=" option, like "bitmap_error=error" or "bitmap_error=warning"
or something similar?

Cheers, Andreas






Download attachment "signature.asc" of type "application/pgp-signature" (874 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ