summaryrefslogtreecommitdiff
path: root/btreplay
diff options
context:
space:
mode:
authorAlan D. Brunelle <Alan.Brunelle@hp.com>2007-10-10 13:25:20 -0400
committerAlan D. Brunelle <Alan.Brunelle@hp.com>2007-10-10 13:25:20 -0400
commit60d658630cfe397a93a97f1b38350b27eacc317e (patch)
treeb5152911d40aa6ab1211d35ee208698a5d038f55 /btreplay
parentcbb3e69ee7499d2df365e2dbc1dfd367a4d997f8 (diff)
downloadblktrace-60d658630cfe397a93a97f1b38350b27eacc317e.tar.gz
blktrace-60d658630cfe397a93a97f1b38350b27eacc317e.tar.bz2
Added O_NOATIME to replay file
Signed-off-by: Alan D. Brunelle <Alan.Brunelle@hp.com>
Diffstat (limited to 'btreplay')
-rw-r--r--btreplay/btreplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/btreplay/btreplay.c b/btreplay/btreplay.c
index 1808b35..8e6b7dc 100644
--- 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*/