Re: FS: EXT4: should we sync error info in __ext4_grp_locked_error?

2017-12-14 Thread Theodore Ts'o
On Thu, Dec 14, 2017 at 03:13:15PM +0800, Zhouyi Zhou wrote: > Hi, > In function __ext4_grp_locked_error, __save_error_info(sb, function, > line) > is called to save error info in super block block, but does not sync > that information > to disk to info the subsequence fsck after reboot. The

FS: EXT4: should we sync error info in __ext4_grp_locked_error?

2017-12-13 Thread Zhouyi Zhou
Hi, In function __ext4_grp_locked_error, __save_error_info(sb, function, line) is called to save error info in super block block, but does not sync that information to disk to info the subsequence fsck after reboot. The reason, I guess maybe it is in locked state. My question is why not m