Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-9782 osd-ldiskfs: avoid extra search
[fs/lustre-release.git]
/
lustre
/
ofd
/
ofd_io.c
diff --git
a/lustre/ofd/ofd_io.c
b/lustre/ofd/ofd_io.c
index
5313655
..
924bffa
100644
(file)
--- a/
lustre/ofd/ofd_io.c
+++ b/
lustre/ofd/ofd_io.c
@@
-645,6
+645,7
@@
static int ofd_preprw_write(const struct lu_env *env, struct obd_export *exp,
/* correct index for local buffers to continue with */
for (k = 0; k < rc; k++) {
lnb[j+k].lnb_flags = rnb[i].rnb_flags;
+ lnb[j+k].lnb_flags &= ~OBD_BRW_LOCALS;
if (!(rnb[i].rnb_flags & OBD_BRW_GRANTED))
lnb[j+k].lnb_rc = -ENOSPC;
}