All of lore.kernel.org
 help / color / mirror / Atom feed
* don't allow enabling a write back cache on devices that don't support it
@ 2023-07-07  9:42 Christoph Hellwig
  2023-07-07  9:42 ` [PATCH 1/2] block: cleanup queue_wc_store Christoph Hellwig
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Christoph Hellwig @ 2023-07-07  9:42 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-block

Hi Jens,

this series fixes a case where a user could enable a write back cache
on a device (driver) that doesn't support it all, potentially leading
to flush requests being sent to a driver that doesn't know whast to
do with them.

diffstat:
 block/blk-settings.c   |    7 +++++--
 block/blk-sysfs.c      |   21 ++++++++-------------
 include/linux/blkdev.h |    1 +
 3 files changed, 14 insertions(+), 15 deletions(-)

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

end of thread, other threads:[~2023-07-15 15:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-07  9:42 don't allow enabling a write back cache on devices that don't support it Christoph Hellwig
2023-07-07  9:42 ` [PATCH 1/2] block: cleanup queue_wc_store Christoph Hellwig
2023-07-07  9:42 ` [PATCH 2/2] block: don't allow enabling a cache on devices that don't support it Christoph Hellwig
2023-07-13 13:43 ` don't allow enabling a write back " Christoph Hellwig
2023-07-15 15:50   ` Jens Axboe
2023-07-15 15:52 ` Jens Axboe

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.