[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] do not disable ext4 discards on first discard failure? [was: Re: dm snapshot: ignore discards issued to the snapshot-origin target]
- From: Christoph Hellwig <hch infradead org>
- To: Eric Sandeen <sandeen redhat com>
- Cc: Mike Snitzer <snitzer redhat com>, Christoph Hellwig <hch infradead org>, device-mapper development <dm-devel redhat com>, DarkNovaNick gmail com, linux-lvm redhat com, Lukas Czerner <lczerner redhat com>, linux-ext4 vger kernel org, Alasdair G Kergon <agk redhat com>
- Subject: Re: [dm-devel] do not disable ext4 discards on first discard failure? [was: Re: dm snapshot: ignore discards issued to the snapshot-origin target]
- Date: Mon, 2 May 2011 10:48:23 -0400
On Mon, May 02, 2011 at 09:47:16AM -0500, Eric Sandeen wrote:
> I still think we need to stick with the simple rule: "EOPNOTSUPP returned for a particular bio means that it is not supported for that particular bio" - I don't know what else we can do, without creating an ambiguity...
>
> This does, however, suck for the layer calling in to a complex device.
>
> What is the overhead for sending discard bios down to a device that does not support it?
For a DM-like device there is very little overhead. The bio gets
dispatched to make_request and failed in there almost immediately.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]