projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbb3e69
)
Added O_NOATIME to replay file
author
Alan D. Brunelle
<Alan.Brunelle@hp.com>
Wed, 10 Oct 2007 17:25:20 +0000
(13:25 -0400)
committer
Alan D. Brunelle
<Alan.Brunelle@hp.com>
Wed, 10 Oct 2007 17:25:20 +0000
(13:25 -0400)
Signed-off-by: Alan D. Brunelle <Alan.Brunelle@hp.com>
btreplay/btreplay.c
patch
|
blob
|
blame
|
history
diff --git
a/btreplay/btreplay.c
b/btreplay/btreplay.c
index 1808b358e3f6ed07758f16fdd4b78e0468f6f5b9..8e6b7dc952a005c4d682c4de42332eb88e4f8d42 100644
(file)
--- a/
btreplay/btreplay.c
+++ b/
btreplay/btreplay.c
@@
-1318,7
+1318,7
@@
static void *replay_sub(void *arg)
pin_to_cpu(tip);
sprintf(path, "/dev/%s", map_dev(tip->devnm));
- tip->ofd = open(path, O_RDWR | O_DIRECT);
+ tip->ofd = open(path, O_RDWR | O_DIRECT
| O_NOATIME
);
if (tip->ofd < 0) {
fatal(path, ERR_SYSCALL, "Failed device open\n");
/*NOTREACHED*/