Whamcloud - gitweb
b=21877 protect bitfield access to rq_flags with rq_lock
authorZhangHongChao <Hongchao.zhang@sun.com>
Fri, 4 Jun 2010 21:28:13 +0000 (23:28 +0200)
committerJohann Lombardi <johann@sun.com>
Fri, 4 Jun 2010 21:28:13 +0000 (23:28 +0200)
commit78293f0f6b8fff9df824c53c949ef904c8e0ddc2
tree16289f911087703984176eb25850f40ce14fcb72
parent5cf9d3b11d78b73ffaa3a246d1fae3ff5559119f
b=21877 protect bitfield access to rq_flags with rq_lock

i=rread
i=fanyong
i=johann

The AT code can access some bits of rq_flags while the service thread
is updating some other bits. Everyone shoud use the rq_lock for
consistency.
lustre/ChangeLog
lustre/ldlm/ldlm_lib.c
lustre/ptlrpc/client.c
lustre/ptlrpc/niobuf.c
lustre/ptlrpc/pack_generic.c
lustre/ptlrpc/service.c