From: "J. R. Okajima" <hooanon05g@gmail.com>
To: Jan Kara <jack@suse.cz>
Cc: linux-fsdevel@vger.kernel.org, adilger@dilger.ca, hch@lst.de,
dchinner@redhat.com, viro@zeniv.linux.org.uk, jlbec@evilplan.org,
gregkh@linuxfoundation.org, hughd@google.com
Subject: Re: [RFC 3/3] uniqueness of inode number, configfs, debugfs, procfs, ramfs and tmpfs
Date: Thu, 22 May 2014 23:58:37 +0900 [thread overview]
Message-ID: <6504.1400770717@jrobl> (raw)
In-Reply-To: <20140522115314.GC7999@quack.suse.cz>
Jan Kara:
> Hum, have you observed any real problems with non-unique inode numbers
> even for tmpfs? Because e.g. the NFS case you mentioned isn't IMHO right -
> tmpfs sets i_generation to current time so even if inode counter wraps,
> i_generation will be different and so they will be different inodes for
> NFS. And the backup case isn't very convincing either - who would be
> backing up tmpfs filesystem ;)?
For NFS, maybe you are right.
I forgot about i_generation. It won't be a problem as you wrote
probably.
For backup case for tmpfs, which I have not confirmed the actual case
either, there several cases.
- some people doesn't want to write flash medias (SSD) frequently.
they store the changes on tmpfs and then move the files from tmpfs to
SSD later.
- this is one use-case of a stackable filesystem.
By the way, I personally don't know how effective it is to make SSD to
live longer. I have read a report saying "the life of flash medias are
much longer than we expect" and the reporter said "we tried writing to
flash medias for a long time over and over again, but could not meet the
end of life." But also I have read several reports saying "I met a end
of lifetime of my ssd. All writes are gone, but I can read the old
contents."
The uniqueness of inums may not be important, but the inum should not be
zero. Do you agree about the first patch "never inum=0"?
J. R. Okajima
next prev parent reply other threads:[~2014-05-22 14:58 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-21 18:48 [RFC 0/3] vfs: get_next_ino(), never inum=0 and uniqueness hooanon05g
2014-05-21 18:48 ` [RFC 1/3] vfs: get_next_ino(), never inum=0 hooanon05g
2014-05-28 4:28 ` Hugh Dickins
2014-05-28 5:53 ` Eric Dumazet
2014-05-21 18:48 ` [RFC 2/3] vfs: get_next_ino(), support for the uniqueness hooanon05g
2014-05-22 11:56 ` Jan Kara
2014-05-22 15:03 ` J. R. Okajima
2014-05-22 15:12 ` Jan Kara
2014-05-22 15:14 ` Christoph Hellwig
2014-05-22 16:06 ` Jan Kara
2014-05-29 15:46 ` [PATCH v2 1/2] tmpfs: manage the inode-number by IDR J. R. Okajima
2014-05-29 15:46 ` [PATCH v2 2/2] tmpfs: refine a file handle for NFS-exporting J. R. Okajima
2014-05-31 2:43 ` [PATCH v2 1/2] tmpfs: manage the inode-number by IDR J. R. Okajima
2014-06-01 16:18 ` [RFC PATCH v3 0/2] the uniquness of tmpfs inode-number J. R. Okajima
2014-06-01 16:18 ` [RFC PATCH v3 1/2] tmpfs: manage the inode-number by IDR, signed int inum J. R. Okajima
2014-06-03 9:04 ` Jan Kara
2014-06-03 14:36 ` J. R. Okajima
2014-06-05 12:27 ` [RFC PATCH v4 0/2] tmpfs: manage the inode-number by IDR (performance measure) J. R. Okajima
2014-06-05 12:27 ` [RFC PATCH v4 1/2] tmpfs: manage the inode-number by IDR, signed int inum J. R. Okajima
2014-06-05 12:27 ` [RFC PATCH v4 2/2] tmpfs: refine a file handle for NFS-exporting J. R. Okajima
2014-06-01 16:18 ` [RFC PATCH v3 " J. R. Okajima
2014-05-21 18:49 ` [RFC 3/3] uniqueness of inode number, configfs, debugfs, procfs, ramfs and tmpfs hooanon05g
2014-05-22 1:03 ` J. R. Okajima
2014-05-22 11:53 ` Jan Kara
2014-05-22 14:58 ` J. R. Okajima [this message]
2014-05-22 15:09 ` Jan Kara
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=6504.1400770717@jrobl \
--to=hooanon05g@gmail.com \
--cc=adilger@dilger.ca \
--cc=dchinner@redhat.com \
--cc=gregkh@linuxfoundation.org \
--cc=hch@lst.de \
--cc=hughd@google.com \
--cc=jack@suse.cz \
--cc=jlbec@evilplan.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/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).