Re: [PATCH v3]Ext4: journal credits reservation fixes for DIO, fallocate and delalloc writepages
From: Theodore Tso <tytso@mit.edu>
Date: 2008-08-02 00:22:34
From: Theodore Tso <tytso@mit.edu>
Date: 2008-08-02 00:22:34
On Fri, Aug 01, 2008 at 03:29:47PM -0400, Theodore Tso wrote:
I'm noticing that when I reboot, presumably either just before or just after remounting the filesystem read-only, I'm getting a whole series of ext4_da_writepages: Not enough credits to flush N pages .. where N is mostly 1, but occasionally will be 2. I'm not sure why this is happening; I did run sync before rebooting, and I haven't noticed any files written just before the reboot getting corrupted, but there is something strange happening here.
I instrumented the check, and it is returning an error -30 --- EROFS. So it's not the fault journal credits patch, but I'm a bit concerned why ext4_da_writepages is getting called right before the system is rebooted, and presumably after the filesystem is remounted read/only. - Ted