Whamcloud - gitweb
b=22032 race between create lproc and read lproc fix
authorRahul Deshmukh <Rahul.Deshmukh@sun.com>
Tue, 5 Oct 2010 10:28:50 +0000 (15:58 +0530)
committerVitaly Fertman <vitaly.fertman@sun.com>
Thu, 7 Oct 2010 23:03:11 +0000 (03:03 +0400)
commit839280926956f16552194fe803ba21096770ebc4
tree80677a3a4bacb7aae78a3b2778148676a39d1fb8
parenta580d89700412758cb5b8b0c978331b4698f07b1
b=22032 race between create lproc and read lproc fix

There is window between lproc create and private data init, where a lproc read
can find data null. this patch fixes it by making it atomic.

i=alexander.zarochentsev
i=rahul
lustre/obdclass/lprocfs_status.c