- Subject: Re: [PATCH v3] introduce sys_syncfs to sync a single file system
- From: Artem Bityutskiy <dedekind1@xxxxxxxxx>
- Date: Mon, 14 Mar 2011 07:52:54 +0200
- Cc: Ric Wheeler <ricwheeler@xxxxxxxxx>, Arnd Bergmann <arnd@xxxxxxxx>, Sage Weil <sage@xxxxxxxxxxxx>, linux-fsdevel@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, "Aneesh Kumar K. V" <aneesh.kumar@xxxxxxxxxxxxxxxxxx>, Jonathan Nieder <jrnieder@xxxxxxxxx>, akpm@xxxxxxxxxxxxxxxxxxxx, linux-api@xxxxxxxxxxxxxxx, mtk.manpages@xxxxxxxxx, viro@xxxxxxxxxxxxxxxxxx, hch@xxxxxx, l@xxxxxxxxx
- In-reply-to: <3cc2c5c6fa6b3bd384017ae95a4241ab.squirrel@xxxxxxxxxxxxxxxxxxxx>
- References: <Pine.LNX.4.64.1102171035220.13904@xxxxxxxxxxxxxxxxxx> <Pine.LNX.4.64.1103101125150.4190@xxxxxxxxxxxxxxxxxx> <edfa4cf081249734807e582c14253fca.squirrel@xxxxxxxxxxxxxxxxxxxx> <201103111255.44979.arnd@xxxxxxxx> <ffafd3ccb3fd1be7c40348c9cee84aef.squirrel@xxxxxxxxxxxxxxxxxxxx> <4D7AC0FE.8070806@xxxxxxxxx> <1d4d1b7ae64da97f44cad0e2bda4f832.squirrel@xxxxxxxxxxxxxxxxxxxx> <1299957736.2332.4.camel@koala> <3cc2c5c6fa6b3bd384017ae95a4241ab.squirrel@xxxxxxxxxxxxxxxxxxxx>
- Reply-to: dedekind1@xxxxxxxxx
On Mon, 2011-03-14 at 02:38 +0100, Indan Zupancic wrote:
> > I had a program, actually a set of programs, which test a file-system.
> > And this set of programs needed such a feature quite a lot, to sync the
> > FS which is being tested and nothing else - for both performance reasons
> > and to put more stress to the FS under testing. We used -o remount, rw
> > for this - but this forced us to run under root.
>
> You could use a tiny setuid root helper binary that does the remount trick.
Yes, but I think this is not elegant solution.
--
Best Regards,
Artem Bityutskiy (ÐÐÑÑÑÐÐÐ ÐÑÑÑÐ)
--
To unsubscribe from this list: send the line "unsubscribe linux-api" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Home]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]