From: David Woodhouse <dwmw2@infradead.org>
To: Hugh Dickins <hugh@veritas.com>
Cc: Jens Axboe <jens.axboe@oracle.com>,
linux-fsdevel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: [RFC PATCH] discarding swap
Date: Wed, 10 Sep 2008 14:28:37 -0700 [thread overview]
Message-ID: <1221082117.13621.25.camel@macbook.infradead.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0809102015230.16131@blonde.site>
On Wed, 2008-09-10 at 20:51 +0100, Hugh Dickins wrote:
> [PATCH] block: adjust blkdev_issue_discard for swap
blkdev_issue_discard() is for naA?ve callers who don't want to have to
think about barriers. You might benefit from issuing discard requests
without an implicit softbarrier, for swap.
Of course, you then have to ensure that a discard can't still be
in-flight and actually happen _after_ a subsequent write to that page.
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2008-09-10 21:28 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-09 21:28 Hugh Dickins
2008-09-10 17:35 ` Jens Axboe
2008-09-10 19:51 ` Hugh Dickins
2008-09-10 21:28 ` David Woodhouse [this message]
2008-09-12 12:10 ` Hugh Dickins
2008-09-12 14:09 ` David Woodhouse
2008-09-12 15:52 ` Hugh Dickins
2008-09-12 16:22 ` David Woodhouse
2008-09-12 17:46 ` Hugh Dickins
2008-09-12 16:50 ` Jamie Lokier
2008-09-12 17:25 ` Hugh Dickins
2008-09-11 8:58 ` Jens Axboe
2008-09-11 10:47 ` Hugh Dickins
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=1221082117.13621.25.camel@macbook.infradead.org \
--to=dwmw2@infradead.org \
--cc=hugh@veritas.com \
--cc=jens.axboe@oracle.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-mm@kvack.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox