From: "Theodore Y. Ts'o" <tytso@mit.edu>
To: Boaz Harrosh <openosd@gmail.com>
Cc: Paul Menzel <pmenzel@molgen.mpg.de>,
linux-fsdevel@vger.kernel.org,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Donald Buczek <buczek@molgen.mpg.de>
Subject: Re: File system for scratch space (in HPC cluster)
Date: Thu, 24 Oct 2019 16:34:19 -0400 [thread overview]
Message-ID: <20191024203419.GG1124@mit.edu> (raw)
In-Reply-To: <70755c40-b800-8ba0-a0df-4206f6b8c8d4@gmail.com>
On Thu, Oct 24, 2019 at 06:01:05PM +0300, Boaz Harrosh wrote:
> > You could use ext4 in nojournal mode. If you want to make sure that
> > fsync() doesn't force a cache flush, you can mount with the nobarrier
> > mount option.
>
> And open the file with O_TMPFILE|O_EXCL so there is no metadata as well.
O_TMPFILE means that there is no directory entry created. The
pathname passed to the open system call is the directory specifying
the file system where the temporary file will be created.
This may or may not be what the original poster wanted, depending on
whether by "scratch file" he meant a file which could be opened by
pathname by another, subsequent process or not.
- Ted
next prev parent reply other threads:[~2019-10-24 20:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-24 10:43 File system for scratch space (in HPC cluster) Paul Menzel
2019-10-24 14:55 ` Theodore Y. Ts'o
2019-10-24 15:01 ` Boaz Harrosh
2019-10-24 20:34 ` Theodore Y. Ts'o [this message]
2019-10-25 8:33 ` Paul Menzel
2019-10-24 17:51 ` Andreas Dilger
2019-10-25 8:35 ` Paul Menzel
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=20191024203419.GG1124@mit.edu \
--to=tytso@mit.edu \
--cc=buczek@molgen.mpg.de \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=openosd@gmail.com \
--cc=pmenzel@molgen.mpg.de \
/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).