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-17533 llite: call merge attr on all writes
[fs/lustre-release.git]
/
lustre
/
llite
/
file.c
diff --git
a/lustre/llite/file.c
b/lustre/llite/file.c
index
660a966
..
bc8905b
100644
(file)
--- a/
lustre/llite/file.c
+++ b/
lustre/llite/file.c
@@
-1962,6
+1962,10
@@
out:
goto restart;
}
+ /* update inode size */
+ if (io->ci_type == CIT_WRITE)
+ ll_merge_attr(env, inode);
+
if (io->ci_dio_aio) {
/* set the number of bytes successfully moved in the aio */
if (result > 0)