From 60d658630cfe397a93a97f1b38350b27eacc317e Mon Sep 17 00:00:00 2001 From: "Alan D. Brunelle" Date: Wed, 10 Oct 2007 13:25:20 -0400 Subject: [PATCH] Added O_NOATIME to replay file Signed-off-by: Alan D. Brunelle --- btreplay/btreplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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*/ -- 2.25.1