public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] blkdev: discard optimizations v2 RESEND2
@ 2010-03-24 17:33 Dmitry Monakhov
  2010-03-24 17:33 ` [PATCH 1/5] blkdev: pass gfp_mask and flags to blkdev_issue_flush Dmitry Monakhov
  2010-03-24 17:43 ` [PATCH 0/5] blkdev: discard optimizations v2 RESEND2 Jens Axboe
  0 siblings, 2 replies; 10+ messages in thread
From: Dmitry Monakhov @ 2010-03-24 17:33 UTC (permalink / raw)
  To: linux-kernel; +Cc: jens.axboe, hch, mkp, Dmitry Monakhov

Wow. lkml seem don't like 'XXX' in the subject
So post it one more time.

This is second version of generic discard optimizations
first was submitted here: http://lwn.net/Articles/373994

Currently there are many file-systems which has implemented
discard support, but SSD discs not widely used yet.
This patch-set introduce compat helpers which simulate
discard requests with zeroing semantics.

__blkdev_issue_zeroout: explicitly zeroout given range via write request.
blkdev_issue_clear: zeroout given range, use discard request if possible.

Later filesystem admin may select which behavior is suitable for his needs
discard without zeroing or explicit zeroing even if discard is not supported.

Advantages:
- Hope that this helps in real filesystem testing.
- People who are crazy about data security would be really happy.
- Virtual machine developers also would like this feature.

Other optimization:
- Convert all blkdev_issue_xxx function to common set of flags
- Optimize generic discard submitting procedure.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-04-06  8:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-24 17:33 [PATCH 0/5] blkdev: discard optimizations v2 RESEND2 Dmitry Monakhov
2010-03-24 17:33 ` [PATCH 1/5] blkdev: pass gfp_mask and flags to blkdev_issue_flush Dmitry Monakhov
2010-03-24 17:33   ` [PATCH 2/5] blkdev: generalize flags for blkdev_issue functions Dmitry Monakhov
2010-03-24 17:33     ` [PATCH 3/5] blkdev: add blkdev_issue helper functions Dmitry Monakhov
2010-03-24 17:33       ` [PATCH 4/5] blkdev: add discard payload flag Dmitry Monakhov
2010-03-24 17:33         ` [PATCH 5/5] blkdev: optimize discard request logic Dmitry Monakhov
2010-04-05 20:00         ` [PATCH 4/5] blkdev: add discard payload flag Christoph Hellwig
2010-04-06  8:29           ` Dmitry Monakhov
2010-03-24 17:43 ` [PATCH 0/5] blkdev: discard optimizations v2 RESEND2 Jens Axboe
2010-03-24 18:00   ` Dmitry Monakhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox