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:
af67ee2
)
b=20317
author
anserper
<anserper>
Fri, 31 Jul 2009 16:03:55 +0000
(16:03 +0000)
committer
anserper
<anserper>
Fri, 31 Jul 2009 16:03:55 +0000
(16:03 +0000)
i=Johann Lombardi
i=Alexander Zarochentsev
do not update kms without extent locks on DIO path
lustre/llite/rw26.c
patch
|
blob
|
history
diff --git
a/lustre/llite/rw26.c
b/lustre/llite/rw26.c
index
e3a521c
..
a60f437
100644
(file)
--- a/
lustre/llite/rw26.c
+++ b/
lustre/llite/rw26.c
@@
-329,7
+329,7
@@
out:
rc = ptlrpc_set_wait(set);
if (unlikely(rc != 0))
GOTO(unlock_mutex, tot_bytes = rc);
- if (rw == WRITE) {
+ if (rw == WRITE
&& locked
) {
lov_stripe_lock(lsm);
obd_adjust_kms(ll_i2obdexp(inode),
lsm, file_offset, 0);