[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1300081974.2332.14.camel@koala>
Date: Mon, 14 Mar 2011 07:52:54 +0200
From: Artem Bityutskiy <dedekind1@...il.com>
To: Indan Zupancic <indan@....nu>
Cc: Ric Wheeler <ricwheeler@...il.com>, Arnd Bergmann <arnd@...db.de>,
Sage Weil <sage@...dream.net>, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org,
"Aneesh Kumar K. V" <aneesh.kumar@...ux.vnet.ibm.com>,
Jonathan Nieder <jrnieder@...il.com>,
akpm@...ux-foundation.org, linux-api@...r.kernel.org,
mtk.manpages@...il.com, viro@...iv.linux.org.uk, hch@....de,
l@...per.es
Subject: Re: [PATCH v3] introduce sys_syncfs to sync a single file system
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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists