Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
3
-
9223372036854775807
Description
lustre/obdclass/genops.c:944
hash = cfs_hash_getref(exp->exp_obd->obd_gen_hash); cfs_hash_del(hash, &ted->ted_lcd->lcd_generation, &exp->exp_gen_hash); cfs_hash_putref(hash);
struct cfs_hash *cfs_hash_getref(struct cfs_hash *hs) { if (atomic_inc_not_zero(&hs->hs_refcount)) return hs; return NULL; }
Attachments
Issue Links
- is related to
-
LU-6840 update memory reply data in DNE update replay
-
- Resolved
-
Activity
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Link | New: This issue is related to JFC-14 [ JFC-14 ] |
Assignee | Original: Di Wang [ di.wang ] | New: Bob Glossman [ bogl ] |
Assignee | Original: WC Triage [ wc-triage ] | New: Di Wang [ di.wang ] |
Fix Version/s | New: Lustre 2.8.0 [ 11113 ] |
Description |
Original:
lustre/obdclass/genops.c:944 {code} hash = cfs_hash_getref(exp->exp_obd->obd_gen_hash); cfs_hash_del(hash, &ted->ted_lcd->lcd_generation, &exp->exp_gen_hash); cfs_hash_putref(hash); {code} {code} struct cfs_hash *cfs_hash_getref(struct cfs_hash *hs) { if (atomic_inc_not_zero(&hs->hs_refcount)) return hs; return NULL; } {code} |
New:
lustre/obdclass/genops.c:944 {code} hash = cfs_hash_getref(exp->exp_obd->obd_gen_hash); cfs_hash_del(hash, &ted->ted_lcd->lcd_generation, &exp->exp_gen_hash); cfs_hash_putref(hash); {code} {code} struct cfs_hash *cfs_hash_getref(struct cfs_hash *hs) { if (atomic_inc_not_zero(&hs->hs_refcount)) return hs; return NULL; } {code} |