From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr Vorel Date: Mon, 26 Apr 2021 21:28:33 +0200 Subject: [LTP] [PATCH] mkfs: relax size check In-Reply-To: References: Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi Jan, Li, > On Fri, Apr 23, 2021 at 7:16 PM Jan Stancek wrote: > > Number of total data blocks in filesystem reported by statfs > > may be less than current formula of 90%. For example ext4 will > > subtract "s_first_data_block plus internal journal blocks". > > With recent change to e2fsprogs, overhead calculated in user-space > > increased slightly and LTP test started failing: > > https://github.com/tytso/e2fsprogs/commit/59037c5357d39c6d0f14a0aff70e67dc13eafc84 > > Since there's no strict rule how much the overhead will be, > > as rule of thumb relax the condition to 80%. > > Signed-off-by: Jan Stancek > Reviewed-by: Li Wang I dared to merge your fix. Thanks! Kind regards, Petr