Re: [RFC] ext4: Fix fs can't panic when abort by user

2021-04-09 Thread Theodore Ts'o
On Fri, Apr 09, 2021 at 05:28:54PM -0400, Theodore Ts'o wrote: > I'll apply the patch with a modified commit description to warn of > this particular change in behavior. Applied with the following commit description: ext4: always panic when errors=panic is specified Before commit 014

Re: [RFC] ext4: Fix fs can't panic when abort by user

2021-04-09 Thread Theodore Ts'o
On Thu, Apr 01, 2021 at 04:19:03PM +0800, Ye Bin wrote: > Test steps: > 1. mount /dev/sda -o errors=panic test > 2. mount /dev/sda -o remount,ro test > 3. mount /dev/sda -o remount,abort test > > Before 014c9caa29d3 not been merged there will trigger panic. But > 014c9caa29d3 change this behavior.

[RFC] ext4: Fix fs can't panic when abort by user

2021-04-01 Thread Ye Bin
Test steps: 1. mount /dev/sda -o errors=panic test 2. mount /dev/sda -o remount,ro test 3. mount /dev/sda -o remount,abort test Before 014c9caa29d3 not been merged there will trigger panic. But 014c9caa29d3 change this behavior. Fixes: 014c9caa29d3 ("ext4: make ext4_abort() use __ext4_error()") S