From: David Woodhouse Subject: Re: [PATCH 0/7] Discard requests, v2 Date: Tue, 12 Aug 2008 12:46:28 +0100 Message-ID: <1218541588.2977.152.camel@pmac.infradead.org> References: <1218299181.26926.88.camel@pmac.infradead.org> <20080812091446.GF20055@kernel.dk> <20080812114227.GX8618@parisc-linux.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Jens Axboe , Andrew Morton , Ric Wheeler , linux-fsdevel@vger.kernel.org, gilad@codefidence.com To: Matthew Wilcox Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:53933 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752197AbYHLLqr (ORCPT ); Tue, 12 Aug 2008 07:46:47 -0400 In-Reply-To: <20080812114227.GX8618@parisc-linux.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, 2008-08-12 at 05:42 -0600, Matthew Wilcox wrote: > Would it make sense for discards to lock the page as if it were a > write? In general, there is no page any more -- not in the file system's inode, at least. There's the page cache for the block device itself, but there's no point in locking that is there? -- David Woodhouse Open Source Technology Centre David.Woodhouse@intel.com Intel Corporation