From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from zeniv.linux.org.uk ([195.92.253.2]:58202 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750746AbeEKUFk (ORCPT ); Fri, 11 May 2018 16:05:40 -0400 Date: Fri, 11 May 2018 21:05:38 +0100 From: Al Viro To: Omar Sandoval Cc: linux-btrfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH 1/3] fs: add initial bh_result->b_private value to __blockdev_direct_IO() Message-ID: <20180511200538.GE30522@ZenIV.linux.org.uk> References: <9a09b9878759e377b138336886b3e2c6e5d7eae9.1525933432.git.osandov@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9a09b9878759e377b138336886b3e2c6e5d7eae9.1525933432.git.osandov@fb.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Thu, May 10, 2018 at 11:30:10PM -0700, Omar Sandoval wrote: > do_blockdev_direct_IO(struct kiocb *iocb, struct inode *inode, > struct block_device *bdev, struct iov_iter *iter, > get_block_t get_block, dio_iodone_t end_io, > - dio_submit_t submit_io, int flags) > + dio_submit_t submit_io, int flags, void *private) Oh, dear... That's what, 9 arguments? I agree that the hack in question is obscene, but so is this ;-/