Re: [f2fs-dev] [PATCH v2] f2fs: Fix deadlock in shutdown ioctl

2018-05-18 Thread Sahitya Tummala
On Thu, May 17, 2018 at 06:08:26PM -0700, Jaegeuk Kim wrote: > > if (in == F2FS_GOING_DOWN_FULLSYNC) { > sb = freeze_bdev(); > if (IS_ERR(sb)) > return PTR_ERR(sb); > if (unlikely(!sb)) > return -EINVAL; > } > > ret = mnt_want_write_file(); It will

[f2fs-dev] [PATCH v3] f2fs: Fix deadlock in shutdown ioctl

2018-05-18 Thread Sahitya Tummala
f2fs_ioc_shutdown() ioctl gets stuck in the below path when issued with F2FS_GOING_DOWN_FULLSYNC option. __switch_to+0x90/0xc4 percpu_down_write+0x8c/0xc0 freeze_super+0xec/0x1e4 freeze_bdev+0xc4/0xcc f2fs_ioctl+0xc0c/0x1ce0 f2fs_compat_ioctl+0x98/0x1f0 Signed-off-by: Sahitya Tummala

Re: [f2fs-dev] Hung task when executing generic/256 test

2018-05-18 Thread Chandan Rajendra
On Friday, May 18, 2018 6:44:43 AM IST Chao Yu wrote: > On 2018/5/18 8:51, Jaegeuk Kim wrote: > > On 05/08, Chandan Rajendra wrote: > >> Hi, > >> > >> The following "Hung task" information is seen when executing generic/256 > >> test > >> on next-20180503. > > > > Hi Chandan, > > > > Is this