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:
038b7a5
)
b=18801
author
anserper
<anserper>
Wed, 16 Sep 2009 22:04:48 +0000
(22:04 +0000)
committer
anserper
<anserper>
Wed, 16 Sep 2009 22:04:48 +0000
(22:04 +0000)
i=Johann Lombardi
i=Dmitry Zogin
update atime in inode before calling ll_direct_IO so that the DIO code should send the correct atime stamps to OSTs
lustre/llite/file.c
patch
|
blob
|
history
diff --git
a/lustre/llite/file.c
b/lustre/llite/file.c
index
bcac1ff
..
e021fc4
100644
(file)
--- a/
lustre/llite/file.c
+++ b/
lustre/llite/file.c
@@
-1635,9
+1635,9
@@
repeat:
<d.u.tree, OBD_BRW_READ);
up_read(&lli->lli_truncate_rwsem);
} else {
+ file_accessed(file);
retval = ll_direct_IO(READ, file, iov_copy, *ppos, nr_segs, 0);
if (retval > 0) {
- file_accessed(file);
lprocfs_counter_add(sbi->ll_stats,
LPROC_LL_LOCKLESS_READ,
(long)retval);