From: Jeff Moyer <jmoyer@redhat.com>
To: Hugh Dickins <hughd@google.com>
Cc: linux-mm@kvack.org, linux-fsdevel@vger.kernel.org
Subject: O_DIRECT on tmpfs (again)
Date: Tue, 27 Nov 2012 11:03:03 -0500 [thread overview]
Message-ID: <x49ip8rf2yw.fsf@segfault.boston.devel.redhat.com> (raw)
Hi Hugh and others,
In 2007, there were some discussions on whether to allow opens to
specify O_DIRECT for files backed by tmpfs.[1][2] On the surface, it
sounds like a completely crazy thing to do. However, distributions like
Fedora are now defaulting to using a tmpfs /tmp. I'm not aware of any
applications that open temp files using O_DIRECT, but I wanted to get
some new discussion going on whether this is a reasonable thing to
expect to work.
Thoughts?
Cheers,
Jeff
[1] https://lkml.org/lkml/2007/1/4/55
[2] http://thread.gmane.org/gmane.linux.kernel/482031
next reply other threads:[~2012-11-27 16:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-27 16:03 Jeff Moyer [this message]
2012-11-28 21:17 ` O_DIRECT on tmpfs (again) Hugh Dickins
2012-11-28 21:32 ` Dave Kleikamp
2012-11-29 15:23 ` Jeff Moyer
2012-11-30 1:32 ` Hugh Dickins
2012-11-30 15:01 ` Richard W.M. Jones
2012-11-30 19:39 ` Jeff Moyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=x49ip8rf2yw.fsf@segfault.boston.devel.redhat.com \
--to=jmoyer@redhat.com \
--cc=hughd@google.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).