commit | b1c5921c5b715c207d7fe77cd7aaafbb322f09f5 | [log] [tgz] |
---|---|---|
author | Chuck Lever <cel@netapp.com> | Tue Jun 20 12:55:19 2006 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Sat Jun 24 13:11:38 2006 -0400 |
tree | c8a56c56740efa728b7d3b935b6cb09330a4817f | |
parent | 816724e65c72a90a44fbad0ef0b59b186c85fa90 [diff] |
NFS: Separate functions for counting outstanding NFS direct I/Os Factor out the logic that increments and decrements the outstanding I/O count. This will be a commonly used bit of code in upcoming patches. Also make this an atomic_t again, since it will be very often manipulated outside dreq->spin lock. Signed-off-by: Chuck Lever <cel@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>