From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [patch 1/2]block: handle merged discard request Date: Mon, 20 Aug 2012 10:15:13 -0400 Message-ID: <20120820141513.GA3418@infradead.org> References: <20120620085724.GA26295@infradead.org> <20120820135739.GB28570@redhat.com> <20120820135854.GA19254@infradead.org> <20120820141229.GC28570@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20120820141229.GC28570@redhat.com> Sender: linux-kernel-owner@vger.kernel.org To: Mike Snitzer Cc: Christoph Hellwig , "Martin K. Petersen" , Shaohua Li , Vivek Goyal , axboe@kernel.dk, linux-kernel@vger.kernel.org, neilb@suse.de, linux-scsi@vger.kernel.org List-Id: linux-scsi@vger.kernel.org On Mon, Aug 20, 2012 at 10:12:29AM -0400, Mike Snitzer wrote: > Thought we pushed that down? Hence sd_setup_discard_cmnd's > alloc_page + blk_add_request_payload hack. Yeah, but we still need the bio_vec from early on, as it's allocated as part of the bio.