[PATCH v2 01/29] staging/lustre/llite: allocate and free client cache asynchronously

2016-06-20 Thread Oleg Drokin
From: Emoly Liu Since the inflight request holds import refcount as well as export, sometimes obd_disconnect() in client_common_put_super() can't put the last refcount of OSC import (e.g. due to network disconnection), this will cause cl_cache being accessed after free. To

[PATCH v2 01/29] staging/lustre/llite: allocate and free client cache asynchronously

2016-06-20 Thread Oleg Drokin
From: Emoly Liu Since the inflight request holds import refcount as well as export, sometimes obd_disconnect() in client_common_put_super() can't put the last refcount of OSC import (e.g. due to network disconnection), this will cause cl_cache being accessed after free. To fix this issue,