From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Piggin Subject: Re: [patch] fs: truncate introduce new sequence Date: Wed, 23 Dec 2009 18:08:21 +1100 Message-ID: <20091223070821.GA19404@nick> References: <20091218065108.GA6825@nick> <20091222122408.GB9611@discord.disaster> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Al Viro , Christoph Hellwig , Jan Kara , linux-fsdevel@vger.kernel.org To: Dave Chinner Return-path: Received: from cantor.suse.de ([195.135.220.2]:40256 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751043AbZLWHIZ (ORCPT ); Wed, 23 Dec 2009 02:08:25 -0500 Content-Disposition: inline In-Reply-To: <20091222122408.GB9611@discord.disaster> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, Dec 22, 2009 at 11:24:08PM +1100, Dave Chinner wrote: > On Fri, Dec 18, 2009 at 05:51:09PM +1100, Nick Piggin wrote: > > +ssize_t > > +__blockdev_direct_IO(int rw, struct kiocb *iocb, struct inode *inode, > > + struct block_device *bdev, const struct iovec *iov, loff_t offset, > > + unsigned long nr_segs, get_block_t get_block, dio_iodone_t end_io, > > + int flags) > > +{ > > + ssize_t retval; > > + > > + retval = __blockdev_direct_IO(rw, iocb, inode, bdev, iov, offset, > > + nr_segs, get_block, end_io, flags); > > __blockdev_direct_IO_newtrunc()? Thanks. I mustn't have retested dio after merging the latest direct IO simplifications :( Will test everything and resend it.