Whamcloud - gitweb
LU-6271 osc: faulty assertion in osc_object_prune() 27/16727/5
authorJinshan Xiong <jinshan.xiong@intel.com>
Tue, 6 Oct 2015 00:45:36 +0000 (17:45 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 24 Oct 2015 00:37:02 +0000 (00:37 +0000)
commitc5e84d53198142919b526fd304c6782005e38bdb
treef764bbadedcad488ec87ec91aa3257a93a115b33
parentfed02bd85eae0e27b682a58c1e466dfbf1f97196
LU-6271 osc: faulty assertion in osc_object_prune()

There may exist freeing pages in object's radix tree at
the time of osc_object_prune(), which causes failure at
the assertion of (osc->oo_npages == 0). This is a safe
race.

This problem is introduced in change at:
Lustre-commit: e8b421531c166b91ab5c1f417570c544bcdd050c
Lustre-change: http://review.whamcloud.com/16456

Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: I7d4e59bccfb012b870a2e8fa7ab99774def57349
Reviewed-on: http://review.whamcloud.com/16727
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/osc/osc_cl_internal.h
lustre/osc/osc_object.c