On Mon, Nov 26, 2012 at 02:28:13AM -0700, Miao Xie wrote:
If we remount the fs to close the auto defragment or make the fs R/O, we should
stop the auto defragment.
Signed-off-by: Miao Xie <redacted>
I'm dropping this patch, it causes a deadlock since defrag will need to reserve
metadata which could call writeback_sb_nr_if_idle which does a
down_read(&sb->s_umount). Figure out another way to fix this and I'll apply it.
Thanks,
Josef