[BUG] fs: nfs: pnfs_nfs: a possible sleep-in-atomic-context bug in pnfs_generic_recover_commit_reqs()

2018-08-12 Thread Jia-Ju Bai
The kernel may sleep with holding a spinlock. The function call paths (from bottom to top) in Linux-4.16 are: [FUNC] mutex_lock_nested fs/nfs/write.c, 1045: mutex_lock_nested in nfs_scan_commit_list fs/nfs/pnfs_nfs.c, 145: nfs_scan_commit_list in pnfs_generic_recover_commit_reqs

[BUG] fs: nfs: pnfs_nfs: a possible sleep-in-atomic-context bug in pnfs_generic_recover_commit_reqs()

2018-08-12 Thread Jia-Ju Bai
The kernel may sleep with holding a spinlock. The function call paths (from bottom to top) in Linux-4.16 are: [FUNC] mutex_lock_nested fs/nfs/write.c, 1045: mutex_lock_nested in nfs_scan_commit_list fs/nfs/pnfs_nfs.c, 145: nfs_scan_commit_list in pnfs_generic_recover_commit_reqs