From mboxrd@z Thu Jan 1 00:00:00 1970 From: Theodore Tso Subject: Re: [PATCH v3] introduce sys_syncfs to sync a single file system Date: Mon, 14 Mar 2011 06:22:44 -0400 Message-ID: References: <201103111255.44979.arnd@arndb.de> <20110311235607.GB15853@elie> <9446ab1a2315c0d2476c30f8315a0503.squirrel@webmail.greenhost.nl> <20110312021001.GA16833@elie> <20110312173217.GA24981@kroah.com> <1e597aedd3d7825dcc0630b1cf2399fa.squirrel@webmail.greenhost.nl> <0b7ab4190f781632fdb9a247f458edc2.squirrel@webmail.greenhost.nl> Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8BIT Return-path: In-Reply-To: <0b7ab4190f781632fdb9a247f458edc2.squirrel@webmail.greenhost.nl> Sender: linux-kernel-owner@vger.kernel.org To: Indan Zupancic Cc: Sage Weil , Greg KH , Jonathan Nieder , Arnd Bergmann , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, "Aneesh Kumar K. V" , akpm@linux-foundation.org, linux-api@vger.kernel.org, mtk.manpages@gmail.com, viro@zeniv.linux.org.uk, hch@lst.de, l@jasper.es List-Id: linux-api@vger.kernel.org On Mar 14, 2011, at 5:27 AM, Indan Zupancic wrote: > > Your new syncfs also operates on files, it's only the name of sync_file_range > which is not very fitting. Other than that, syncing files in weird, nonstandard > ways is what it does and in that sense it's a good place for syncfs functionality. It operates on a file system. It takes a file descriptor as an argument. (Much like the statfs(2) system call.) There's a difference. - Ted