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-14124 target: set OBD_MD_FLGRANT in read's reply
[fs/lustre-release.git]
/
lustre
/
target
/
tgt_handler.c
diff --git
a/lustre/target/tgt_handler.c
b/lustre/target/tgt_handler.c
index
5a53c4c
..
1a903db
100644
(file)
--- a/
lustre/target/tgt_handler.c
+++ b/
lustre/target/tgt_handler.c
@@
-2422,6
+2422,8
@@
int tgt_brw_read(struct tgt_session_info *tsi)
} else {
repbody->oa.o_valid = 0;
}
+ if (body->oa.o_valid & OBD_MD_FLGRANT)
+ repbody->oa.o_valid |= OBD_MD_FLGRANT;
/* We're finishing using body->oa as an input variable */
/* Check if client was evicted while we were doing i/o before touching