Files
android_kernel_xiaomi_sm8450/fs/nfs
Trond Myklebust 13c13a6ad7 pNFS: Fix missing layoutreturn calls
The layoutreturn code currently relies on pnfs_put_lseg() to initiate the
RPC call when conditions are right. A problem arises when we want to
free the layout segment from inside an inode->i_lock section (e.g. in
pnfs_clear_request_commit()), since we cannot sleep.

The workaround is to move the actual call to pnfs_send_layoutreturn()
to pnfs_put_layout_hdr(), which doesn't have this restriction.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
2016-01-26 23:12:11 -05:00
..
2016-01-22 11:02:36 -05:00
2015-12-07 13:04:59 -08:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00
2015-04-23 15:16:14 -04:00
2012-07-30 19:06:41 -04:00
2015-02-03 11:06:34 -08:00
2015-10-08 10:45:51 -04:00
2016-01-22 18:04:28 -05:00
2015-04-23 15:16:14 -04:00
2015-04-23 15:16:14 -04:00
2016-01-07 18:45:36 -05:00
2015-10-15 16:07:36 -04:00
2016-01-22 18:04:28 -05:00
2015-10-15 16:07:21 -04:00
2012-07-30 19:06:52 -04:00
2016-01-26 23:12:11 -05:00
2016-01-04 13:19:55 -05:00