From: Jens Axboe <jaxboe@fusionio.com>
To: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: "linux-fsdevel@vger.kernel.org" <linux-fsdevel@vger.kernel.org>
Subject: Re: [PATCH] block: Fix discard topology stacking and reporting
Date: Wed, 18 May 2011 10:38:29 +0200 [thread overview]
Message-ID: <4DD38585.1060805@fusionio.com> (raw)
In-Reply-To: <yq1tycsfwzu.fsf@sermon.lab.mkp.net>
On 2011-05-18 06:33, Martin K. Petersen wrote:
>
> In some cases we would end up stacking discard_zeroes_data incorrectly.
> Fix this by enabling the feature by default for stacking drivers and
> clearing it for low-level drivers. Incorporating a device that does not
> support dzd will then cause the feature to be disabled in the stacking
> driver.
>
> Also ensure that the maximum discard value does not overflow when
> exported in sysfs and return 0 in the alignment and dzd fields for
> devices that don't support discard.
Applied to for-2.6.40/core
--
Jens Axboe
prev parent reply other threads:[~2011-05-18 8:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-18 4:33 [PATCH] block: Fix discard topology stacking and reporting Martin K. Petersen
2011-05-18 8:38 ` Jens Axboe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DD38585.1060805@fusionio.com \
--to=jaxboe@fusionio.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=martin.petersen@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.