Whamcloud - gitweb
Change object "refcounts" to be dgets instead of igets, where possible,
authoradilger <adilger>
Mon, 3 Jun 2002 19:03:26 +0000 (19:03 +0000)
committeradilger <adilger>
Mon, 3 Jun 2002 19:03:26 +0000 (19:03 +0000)
commitc665813c3634b913d9e04f1b5113d0b1f71cab80
treea093c28ec1a9dc325057def6145a77a57e8cbb86
parent3a8fe39a6b825f7be5e86db95fd8dd263c1e3033
Change object "refcounts" to be dgets instead of igets, where possible,
because igets are not only more expensive (need to lock the inode, etc),
but you need to do the dentry lookup to find the inode in the first place.

Also cleaned up access to atomic counters to use "atomic_read(count)"
instead of count.value.  Purely cosmetic, since we don't really need
the atomicness of the counters for debug output.
lustre/obdfilter/filter.c