[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Page sharing between a block device and a mounted file system?
From: |
Samuel Thibault |
Subject: |
Re: Page sharing between a block device and a mounted file system? |
Date: |
Sun, 19 May 2019 22:49:21 +0200 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
Hello,
Raymond Jennings, le jeu. 16 mai 2019 10:35:07 -0700, a ecrit:
> The question is, if i have a task serving a block device, which has a task
> serving a filesystem as a client, how do I keep the same page of data for a
> file block from being stored redundantly as two separate pages, perhaps in two
> separate memory objects?
Actually IIRC what really happens in a hurd system is that
the filesystem asks the storeio translator where the data is
(file_get_storage_info), and tries to open that directly (see libstore's
store_create used by ext2fs), so there is no duplication in the end.
Samuel