Re: [PATCH 6/6] fs: add automatic kernel fs freeze / thaw and remove kthread freezing

2023-05-16 Thread Darrick J. Wong
On Tue, May 09, 2023 at 11:20:13AM +1000, Dave Chinner wrote: > On Sun, May 07, 2023 at 06:17:17PM -0700, Luis Chamberlain wrote: > > Add support to automatically handle freezing and thawing filesystems > > during the kernel's suspend/resume cycle. > > > > This is needed so that we properly really

Re: [PATCH 6/6] fs: add automatic kernel fs freeze / thaw and remove kthread freezing

2023-05-08 Thread Dave Chinner
On Sun, May 07, 2023 at 06:17:17PM -0700, Luis Chamberlain wrote: > Add support to automatically handle freezing and thawing filesystems > during the kernel's suspend/resume cycle. > > This is needed so that we properly really stop IO in flight without > races after userspace has been frozen. With

[PATCH 6/6] fs: add automatic kernel fs freeze / thaw and remove kthread freezing

2023-05-07 Thread Luis Chamberlain
Add support to automatically handle freezing and thawing filesystems during the kernel's suspend/resume cycle. This is needed so that we properly really stop IO in flight without races after userspace has been frozen. Without this we rely on kthread freezing and its semantics are loose and error p