From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Woodhouse Subject: Re: [PATCH 0/7] Discard requests, v2 Date: Sun, 10 Aug 2008 21:07:55 +0100 Message-ID: <1218398875.5063.53.camel@pmac.infradead.org> References: <1218299181.26926.88.camel@pmac.infradead.org> <87abflrejb.fsf@devron.myhome.or.jp> <1218363946.5063.25.camel@pmac.infradead.org> <20080810163718.GA528@shareable.org> <871w0wrbzu.fsf@devron.myhome.or.jp> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Jamie Lokier , Jens Axboe , Andrew Morton , Ric Wheeler , linux-fsdevel@vger.kernel.org, gilad@codefidence.com, matthew@wil.cx To: OGAWA Hirofumi Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:34377 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753329AbYHJUIX (ORCPT ); Sun, 10 Aug 2008 16:08:23 -0400 In-Reply-To: <871w0wrbzu.fsf@devron.myhome.or.jp> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Mon, 2008-08-11 at 02:55 +0900, OGAWA Hirofumi wrote: > Or another options is caller should do? e.g. (WRITE | (1 << > BIO_RW_DISCARD)) Yeah, I thought about that. Figured it was better just to sort it out in submit_bio() rather than relying on the callers. Although admittedly there is precisely _one_ caller right now... -- David Woodhouse Open Source Technology Centre David.Woodhouse@intel.com Intel Corporation