* [PATCH] Bind Mount Extensions 0.05
@ 2004-08-18 12:51 Herbert Poetzl
2004-08-18 13:49 ` Jonathan Sambrook
2004-08-18 17:28 ` Herbert Poetzl
0 siblings, 2 replies; 7+ messages in thread
From: Herbert Poetzl @ 2004-08-18 12:51 UTC (permalink / raw)
To: linux-kernel
Greetings!
The following patch extends the 'noatime', 'nodiratime' and
last but not least the 'ro' (read only) mount option to the
vfs --bind mounts, allowing them to behave like any other
mount, by honoring those mount flags (which are silently
ignored by the current implementation in 2.4.x and 2.6.x)
I don't want to pollute your mailbox with useless patches,
so for those who are interested in this stuff, get them
here (for 2.4.27 and 2.6.8.1)
http://www.13thfloor.at/patches/
many thanks to Willy Tarreau for spotting the bug in the
previous bme0.04 for linux 2.4.x.
enjoy,
Herbert
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Bind Mount Extensions 0.05
2004-08-18 12:51 [PATCH] Bind Mount Extensions 0.05 Herbert Poetzl
@ 2004-08-18 13:49 ` Jonathan Sambrook
2004-08-18 14:02 ` Christoph Hellwig
2004-08-18 17:28 ` Herbert Poetzl
1 sibling, 1 reply; 7+ messages in thread
From: Jonathan Sambrook @ 2004-08-18 13:49 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 609 bytes --]
At 14:51 on Wed 18/08/04, herbert@13thfloor.at masquerading as 'Herbert Poetzl' wrote:
>
> Greetings!
>
> The following patch extends the 'noatime', 'nodiratime' and
> last but not least the 'ro' (read only) mount option to the
> vfs --bind mounts, allowing them to behave like any other
> mount, by honoring those mount flags (which are silently
> ignored by the current implementation in 2.4.x and 2.6.x)
>
What's the likelyhood/timeframe for this getting into mainline kernels?
Cheers,
Jonathan
--
Jonathan Sambrook
Software Developer
Designer Servers
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Bind Mount Extensions 0.05
2004-08-18 13:49 ` Jonathan Sambrook
@ 2004-08-18 14:02 ` Christoph Hellwig
2004-08-18 17:30 ` Herbert Poetzl
0 siblings, 1 reply; 7+ messages in thread
From: Christoph Hellwig @ 2004-08-18 14:02 UTC (permalink / raw)
To: Jonathan Sambrook; +Cc: linux-kernel
On Wed, Aug 18, 2004 at 02:49:59PM +0100, Jonathan Sambrook wrote:
> What's the likelyhood/timeframe for this getting into mainline kernels?
This patch? not at all. THe feature? Maybe this year, but as it'll need
interface changes I'm not sure it's a good idea to do it in 2.6.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Bind Mount Extensions 0.05
2004-08-18 12:51 [PATCH] Bind Mount Extensions 0.05 Herbert Poetzl
2004-08-18 13:49 ` Jonathan Sambrook
@ 2004-08-18 17:28 ` Herbert Poetzl
2004-08-19 0:28 ` Herbert Poetzl
1 sibling, 1 reply; 7+ messages in thread
From: Herbert Poetzl @ 2004-08-18 17:28 UTC (permalink / raw)
To: linux-kernel
On Wed, Aug 18, 2004 at 02:51:04PM +0200, Herbert Poetzl wrote:
>
> Greetings!
>
> The following patch extends the 'noatime', 'nodiratime' and
> last but not least the 'ro' (read only) mount option to the
> vfs --bind mounts, allowing them to behave like any other
> mount, by honoring those mount flags (which are silently
> ignored by the current implementation in 2.4.x and 2.6.x)
>
> I don't want to pollute your mailbox with useless patches,
> so for those who are interested in this stuff, get them
> here (for 2.4.27 and 2.6.8.1)
patch for 2.6.8.1 is broken, but it will be updated soon
please don't use it for now ...
TIA,
Herbert
> http://www.13thfloor.at/patches/
>
> many thanks to Willy Tarreau for spotting the bug in the
> previous bme0.04 for linux 2.4.x.
>
> enjoy,
> Herbert
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Bind Mount Extensions 0.05
2004-08-18 14:02 ` Christoph Hellwig
@ 2004-08-18 17:30 ` Herbert Poetzl
0 siblings, 0 replies; 7+ messages in thread
From: Herbert Poetzl @ 2004-08-18 17:30 UTC (permalink / raw)
To: Christoph Hellwig, Jonathan Sambrook, linux-kernel
On Wed, Aug 18, 2004 at 03:02:28PM +0100, Christoph Hellwig wrote:
> On Wed, Aug 18, 2004 at 02:49:59PM +0100, Jonathan Sambrook wrote:
> > What's the likelyhood/timeframe for this getting into mainline kernels?
>
> This patch? not at all. THe feature?
> Maybe this year, but as it'll need interface changes
what interface changes are needed?
TIA,
Herbert
> I'm not sure it's a good idea to do it in 2.6.
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Bind Mount Extensions 0.05
2004-08-18 17:28 ` Herbert Poetzl
@ 2004-08-19 0:28 ` Herbert Poetzl
2004-08-20 13:19 ` Serge E. Hallyn
0 siblings, 1 reply; 7+ messages in thread
From: Herbert Poetzl @ 2004-08-19 0:28 UTC (permalink / raw)
To: linux-kernel
On Wed, Aug 18, 2004 at 07:28:55PM +0200, Herbert Poetzl wrote:
> On Wed, Aug 18, 2004 at 02:51:04PM +0200, Herbert Poetzl wrote:
> >
> > Greetings!
> >
> > The following patch extends the 'noatime', 'nodiratime' and
> > last but not least the 'ro' (read only) mount option to the
> > vfs --bind mounts, allowing them to behave like any other
> > mount, by honoring those mount flags (which are silently
> > ignored by the current implementation in 2.4.x and 2.6.x)
> >
> > I don't want to pollute your mailbox with useless patches,
> > so for those who are interested in this stuff, get them
> > here (for 2.4.27 and 2.6.8.1)
>
> patch for 2.6.8.1 is broken, but it will be updated soon
> please don't use it for now ...
okay, the patch for 2.6.8.1 was updated and should be fine
now, please let me know if you encounter any issues, as the
version for 2.6.8.1 is relatively new ...
http://www.13thfloor.at/patches/patch-2.6.8.1-bme0.05.1.diff
best,
Herbert
> > http://www.13thfloor.at/patches/
> >
> > many thanks to Willy Tarreau for spotting the bug in the
> > previous bme0.04 for linux 2.4.x.
> >
> > enjoy,
> > Herbert
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at http://www.tux.org/lkml/
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Bind Mount Extensions 0.05
2004-08-19 0:28 ` Herbert Poetzl
@ 2004-08-20 13:19 ` Serge E. Hallyn
0 siblings, 0 replies; 7+ messages in thread
From: Serge E. Hallyn @ 2004-08-20 13:19 UTC (permalink / raw)
To: linux-kernel
> okay, the patch for 2.6.8.1 was updated and should be fine
> now, please let me know if you encounter any issues, as the
> version for 2.6.8.1 is relatively new ...
>
> http://www.13thfloor.at/patches/patch-2.6.8.1-bme0.05.1.diff
This patch works wonderfully for me (with ext3).
Have you investigated which cases cause MNT_IS_RDONLY to be called
with a NULL vfsmount, and whether any of these cases are meaningful?
Quoting Christoph Hellwig (hch@infradead.org):
> On Wed, Aug 18, 2004 at 02:49:59PM +0100, Jonathan Sambrook wrote:
> > What's the likelyhood/timeframe for this getting into mainline kernels?
>
> This patch? not at all. THe feature? Maybe this year, but as it'll need
> interface changes I'm not sure it's a good idea to do it in 2.6.
What are the interface changes which will improve this patch?
Is waiting until 2.7 unnecessary given the new kernel development model?
Or are the interface changes just that drastic? :)
thanks,
-serge
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-08-20 13:19 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-18 12:51 [PATCH] Bind Mount Extensions 0.05 Herbert Poetzl
2004-08-18 13:49 ` Jonathan Sambrook
2004-08-18 14:02 ` Christoph Hellwig
2004-08-18 17:30 ` Herbert Poetzl
2004-08-18 17:28 ` Herbert Poetzl
2004-08-19 0:28 ` Herbert Poetzl
2004-08-20 13:19 ` Serge E. Hallyn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox