All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] brd: implement discard
@ 2022-09-16  8:58 ` Mikulas Patocka
  0 siblings, 0 replies; 22+ messages in thread
From: Mikulas Patocka @ 2022-09-16  8:58 UTC (permalink / raw)
  To: Jens Axboe, Zdenek Kabelac; +Cc: linux-block, dm-devel

Hi

This series of patches implements discard, write_zeroes and secure_erase 
support for the brd driver.

Zdenek asked me to write it, because we use brd in the lvm2 testsuite and 
it would be benefical to run the testsuite with discard enabled in order 
to test discard handling.

This patch series should have no performance impact - it doesn't add any 
locks to the common I/O paths. It only extends rcu read region around 
lookup and reading or writing of a single page. Discarded pages are freed 
with "call_rcu" to make sure that if we mix discard with I/O, the I/O 
won't access freed memory.

Mikulas


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

end of thread, other threads:[~2022-09-20 17:47 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-16  8:58 [PATCH 0/4] brd: implement discard Mikulas Patocka
2022-09-16  8:58 ` [dm-devel] " Mikulas Patocka
2022-09-16  8:59 ` [PATCH 1/4] brd: make brd_insert_page return bool Mikulas Patocka
2022-09-16  8:59   ` [dm-devel] " Mikulas Patocka
2022-09-20  7:28   ` Christoph Hellwig
2022-09-20  7:28     ` [dm-devel] " Christoph Hellwig
2022-09-16  8:59 ` [PATCH 2/4] brd: extend the rcu regions to cover read and write Mikulas Patocka
2022-09-16  8:59   ` [dm-devel] " Mikulas Patocka
2022-09-20  7:38   ` Christoph Hellwig
2022-09-20  7:38     ` [dm-devel] " Christoph Hellwig
2022-09-16  9:00 ` [dm-devel] [PATCH 3/4] brd: enable discard Mikulas Patocka
2022-09-16  9:00   ` Mikulas Patocka
2022-09-20  7:39   ` [dm-devel] " Christoph Hellwig
2022-09-20  7:39     ` Christoph Hellwig
2022-09-20 17:47     ` [dm-devel] " Mikulas Patocka
2022-09-20 17:47       ` Mikulas Patocka
2022-09-16  9:00 ` [dm-devel] [PATCH 4/4] brd: implement secure erase and write zeroes Mikulas Patocka
2022-09-16  9:00   ` Mikulas Patocka
2022-09-20  7:29   ` Christoph Hellwig
2022-09-20  7:29     ` [dm-devel] " Christoph Hellwig
2022-09-20 17:46     ` Mikulas Patocka
2022-09-20 17:46       ` Mikulas Patocka

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.