From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamie Lokier Subject: Re: [PATCH 1/5] [BLOCK] Add 'discard' request handling Date: Sun, 10 Aug 2008 02:05:42 +0100 Message-ID: <20080810010541.GB20183@shareable.org> References: <1218192731.12232.110.camel@pmac.infradead.org> <20080808110934.GO20055@kernel.dk> <20080808111829.GP20055@kernel.dk> <1218194997.12232.124.camel@pmac.infradead.org> <20080808114409.GR20055@kernel.dk> <1218197116.12232.135.camel@pmac.infradead.org> <20080808121302.GT20055@kernel.dk> <1218198768.12232.144.camel@pmac.infradead.org> <20080808123730.GU20055@kernel.dk> <1218199792.12232.154.camel@pmac.infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jens Axboe , Andrew Morton , Ric Wheeler , linux-fsdevel@vger.kernel.org, gilad@codefidence.com To: David Woodhouse Return-path: Received: from mail2.shareable.org ([80.68.89.115]:59445 "EHLO mail2.shareable.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752932AbYHJBFz (ORCPT ); Sat, 9 Aug 2008 21:05:55 -0400 Content-Disposition: inline In-Reply-To: <1218199792.12232.154.camel@pmac.infradead.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: David Woodhouse wrote: > Can we get away with representing discards as 'writes without buffers'? That seems like a very good idea. They have the same requirements as writes w.r.t. barriers and merges/discards. I can imagine situations where a filesystem wants discards to work with barrier requests in exactly the same way as writes. -- Jamie