From mboxrd@z Thu Jan 1 00:00:00 1970 From: Trond Myklebust Subject: Re: [PATCH 1/6] VFS: Ensure that writeback_single_inode() commits unstable writes Date: Fri, 08 Jan 2010 09:15:05 -0500 Message-ID: <1262960105.19319.13.camel@localhost> References: <20100106205110.22547.85345.stgit@localhost.localdomain> <20100106205110.22547.17971.stgit@localhost.localdomain> <20100107021849.GC9475@localhost> <1262839082.2185.15.camel@localhost> <20100107145635.GB20300@localhost> <1262877022.3309.11.camel@localhost> <20100108092542.GA27480@infradead.org> <1262958406.19319.4.camel@localhost> <20100108135420.GA1806@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Cc: Wu Fengguang , Peter Zijlstra , Jan Kara , Steve Rago , "linux-nfs@vger.kernel.org" , "jens.axboe" , Peter Staubach , Arjan van de Ven , Ingo Molnar , "linux-fsdevel@vger.kernel.org" To: Christoph Hellwig Return-path: Received: from mx2.netapp.com ([216.240.18.37]:7989 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751370Ab0AHOP7 convert rfc822-to-8bit (ORCPT ); Fri, 8 Jan 2010 09:15:59 -0500 In-Reply-To: <20100108135420.GA1806@infradead.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Fri, 2010-01-08 at 08:54 -0500, Christoph Hellwig wrote: > On Fri, Jan 08, 2010 at 08:46:46AM -0500, Trond Myklebust wrote: > > Could we in that case replace write_inode() with something that takes a > > struct writeback_control? It is very useful to have full information > > about the write range and flags as it allows us to tweak the COMMIT RPC > > call. > > At this point I do not plan to change the write_inode interface. But > changing the ->write_inode operation to take a writeback control instead > of the sync flag should be a prety easy change if you want to do it. > OK. Please could you let me know when you're done with your changes so that I can adapt this patch? Cheers Trond