Re: [Cluster-devel] [PATCH] fs: record task name which froze superblock

2015-02-28 Thread Alexey Dobriyan
On Fri, Feb 20, 2015 at 01:15:22PM +0100, Jan Kara wrote: On Fri 20-02-15 14:42:29, Alexey Dobriyan wrote: On Wed, Feb 18, 2015 at 12:13 PM, Jan Kara j...@suse.cz wrote: --- a/fs/ioctl.c +++ b/fs/ioctl.c @@ -518,6 +518,7 @@ static int ioctl_fioasync(unsigned int fd, struct

[Cluster-devel] [PATCH v3] fs: record task name which froze superblock

2015-02-28 Thread Alexey Dobriyan
Freezing and thawing are separate system calls, task which is supposed to thaw filesystem/superblock can disappear due to crash or not thaw due to a bug. At least record task name (we can't take task_struct reference) to make support engineer's life easier. Hopefully 16 bytes per superblock isn't

Re: [Cluster-devel] [PATCH v3] fs: record task name which froze superblock

2015-02-28 Thread Dave Chinner
On Sat, Feb 28, 2015 at 05:25:57PM +0300, Alexey Dobriyan wrote: Freezing and thawing are separate system calls, task which is supposed to thaw filesystem/superblock can disappear due to crash or not thaw due to a bug. At least record task name (we can't take task_struct reference) to make