Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a51b7a
)
b=22513 Remove unecessary lock in read-ahead process.
author
Wang Di
<Tom.Wang@sun.com>
Mon, 26 Apr 2010 03:57:44 +0000
(23:57 -0400)
committer
Robert Read
<robert.read@oracle.com>
Mon, 26 Apr 2010 18:28:10 +0000
(11:28 -0700)
i=Robert.Read
i=Eric.Mei
lustre/llite/rw.c
patch
|
blob
|
history
diff --git
a/lustre/llite/rw.c
b/lustre/llite/rw.c
index
1884c01
..
1a96289
100644
(file)
--- a/
lustre/llite/rw.c
+++ b/
lustre/llite/rw.c
@@
-976,7
+976,6
@@
void ras_update(struct ll_sb_info *sbi, struct inode *inode,
int zero = 0, stride_detect = 0, ra_miss = 0;
ENTRY;
- cfs_spin_lock(&sbi->ll_lock);
cfs_spin_lock(&ras->ras_lock);
ll_ra_stats_inc_sbi(sbi, hit ? RA_STAT_HIT : RA_STAT_MISS);
@@
-1117,7
+1116,6
@@
out_unlock:
RAS_CDEBUG(ras);
ras->ras_request_index++;
cfs_spin_unlock(&ras->ras_lock);
- cfs_spin_unlock(&sbi->ll_lock);
return;
}