From: Hugh Dickins <hugh@veritas.com>
To: Hua Zhong <hzhong@cisco.com>
Cc: Christoph Rohland <cr@sap.com>, Daniel Egger <degger@fhm.edu>,
<linux-kernel@vger.kernel.org>
Subject: RE: PATCH: allow percentile size of tmpfs (2.5.66 / 2.4.20-pre2)
Date: Wed, 2 Apr 2003 11:26:10 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.44.0304021119400.1162-100000@localhost.localdomain> (raw)
In-Reply-To: <CDEDIMAGFBEBKHDJPCLDCECBDGAA.hzhong@cisco.com>
On Tue, 1 Apr 2003, Hua Zhong wrote:
> There is at least one case that ramfs works but tmpfs doesn't.
>
> If you have a loopback file A, and the following will fail in 2.4:
>
> mount -t tmpfs tmpfs /mnt/tmp
> extract file A to /mnt/tmp/A
> mount -t ext2 -o loop /mnt/tmp /mnt/loopback
>
> You'll get "ioctl: LOOP_SET_FD: Invalid argument".
>
> But ramfs works great.
>
> Is this a bug or feature?
Feature: the way tmpfs allows a page to move between swap and memory
makes loopback harder to support than it is for all-in-memory ramfs.
I used to have the patches to enable loopback on tmpfs in 2.4 (well,
I still have them, but 2.4 and tmpfs have both moved on), but shifted
attention to 2.5. One day I'll clean them up, but that day is not soon.
Hugh
next prev parent reply other threads:[~2003-04-02 10:12 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-01 14:22 Mikael Starvik
2003-04-01 16:24 ` Christoph Rohland
2003-04-01 18:26 ` Daniel Egger
2003-04-01 19:25 ` Hugh Dickins
2003-04-01 19:57 ` Daniel Egger
2003-04-02 7:13 ` Christoph Rohland
2003-04-02 7:55 ` Hua Zhong
2003-04-02 10:26 ` Hugh Dickins [this message]
2003-04-03 2:49 ` Robert White
2003-04-03 2:54 ` Hua Zhong
[not found] <fa.eagpkml.m3elbd@ifi.uio.no>
2003-04-01 13:38 ` Ed Tomlinson
2003-04-01 14:17 ` Hugh Dickins
2003-04-01 14:18 ` CaT
2003-04-01 16:27 ` Christoph Rohland
2003-04-01 16:45 ` Hugh Dickins
2003-04-02 7:20 ` Christoph Rohland
2003-04-02 8:12 ` William Lee Irwin III
2003-04-02 14:44 ` CaT
2003-04-02 17:33 ` Christoph Rohland
2003-04-02 20:44 ` Jörn Engel
2003-04-02 21:04 ` Hugh Dickins
2003-04-03 7:44 ` Jörn Engel
2003-04-07 8:32 ` Christoph Rohland
2003-04-07 11:55 ` Hugh Dickins
2003-04-07 11:59 ` Christoph Rohland
2003-04-04 11:31 ` Henning P. Schmiedehausen
2003-04-03 5:35 ` CaT
2003-04-03 10:42 ` CaT
2003-04-02 10:04 ` Jörn Engel
2003-04-03 2:54 ` Robert White
2003-04-03 8:35 ` Hugh Dickins
2003-04-03 20:55 ` Robert White
-- strict thread matches above, loose matches on Subject: below --
2003-04-01 8:10 CaT
2003-04-01 10:59 ` Xavier Bestel
2003-04-01 11:11 ` Hugh Dickins
2003-04-01 14:23 ` CaT
2003-04-01 14:43 ` Hugh Dickins
2003-04-01 14:54 ` CaT
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=Pine.LNX.4.44.0304021119400.1162-100000@localhost.localdomain \
--to=hugh@veritas.com \
--cc=cr@sap.com \
--cc=degger@fhm.edu \
--cc=hzhong@cisco.com \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®