Whamcloud - gitweb
b=22056 hash_add not under spinlock.
authorVitaly Fertman <Vitaly.Fertman@sun.com>
Thu, 15 Apr 2010 05:39:41 +0000 (22:39 -0700)
committerRobert Read <robert.read@oracle.com>
Thu, 15 Apr 2010 05:39:41 +0000 (22:39 -0700)
commit589bc6c478b91d2d0e4cdd2aefd83dd45be2ef51
tree9c197701d686b1ebfb3ff120a73f053fceb9352e
parent9a80ff76f16d93de72da85e10666be33aac3b6b8
b=22056 hash_add not under spinlock.

a refcount is added to the hash, move hash_add from under spinlock with no race against hash_destroy.

i=green
i=tappro
libcfs/include/libcfs/libcfs_hash.h
libcfs/libcfs/hash.c
lustre/ldlm/ldlm_lockd.c
lustre/lov/lov_obd.c
lustre/obdclass/cl_object.c
lustre/obdclass/genops.c
lustre/obdclass/obd_config.c
lustre/ptlrpc/connection.c
lustre/quota/quota_adjust_qunit.c
lustre/quota/quota_context.c