All of lore.kernel.org
 help / color / mirror / Atom feed
* + zram-introduce-writeback-bio-batching-support-fix.patch added to mm-unstable branch
@ 2025-11-18  3:43 Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2025-11-18  3:43 UTC (permalink / raw)
  To: mm-commits, ywen.chen, richardycc, minchan, bgeffon, senozhatsky,
	akpm


The patch titled
     Subject: zram-introduce-writeback-bio-batching-support-fix
has been added to the -mm mm-unstable branch.  Its filename is
     zram-introduce-writeback-bio-batching-support-fix.patch

This patch will shortly appear at
     https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/zram-introduce-writeback-bio-batching-support-fix.patch

This patch will later appear in the mm-unstable branch at
    git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days

------------------------------------------------------
From: Sergey Senozhatsky <senozhatsky@chromium.org>
Subject: zram-introduce-writeback-bio-batching-support-fix
Date: Tue, 18 Nov 2025 11:19:23 +0900

set slot index to current post-processing slot index

Link: https://lkml.kernel.org/r/20251118021953.1794503-1-senozhatsky@chromium.org
Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Brian Geffon <bgeffon@google.com>
Cc: Minchan Kim <minchan@google.com>
Cc: Richard Chang <richardycc@google.com>
Cc: Yuwen Chen <ywen.chen@foxmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/block/zram/zram_drv.c |    1 +
 1 file changed, 1 insertion(+)

--- a/drivers/block/zram/zram_drv.c~zram-introduce-writeback-bio-batching-support-fix
+++ a/drivers/block/zram/zram_drv.c
@@ -990,6 +990,7 @@ static int zram_writeback_slots(struct z
 			}
 		}
 
+		index = pps->index;
 		zram_slot_lock(zram, index);
 		/*
 		 * scan_slots() sets ZRAM_PP_SLOT and relases slot lock, so
_

Patches currently in -mm which might be from senozhatsky@chromium.org are

zram-introduce-writeback-bio-batching-support-fix.patch
zram-add-writeback-batch-size-device-attr.patch
zram-take-write-lock-in-wb-limit-store-handlers.patch
zram-drop-wb_limit_lock.patch


^ permalink raw reply	[flat|nested] 2+ messages in thread
* + zram-introduce-writeback-bio-batching-support-fix.patch added to mm-unstable branch
@ 2025-11-19 23:26 Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2025-11-19 23:26 UTC (permalink / raw)
  To: mm-commits, richardycc, minchan, dan.carpenter, bgeffon,
	senozhatsky, akpm


The patch titled
     Subject: zram: fixup "introduce writeback bio batching support"
has been added to the -mm mm-unstable branch.  Its filename is
     zram-introduce-writeback-bio-batching-support-fix.patch

This patch will shortly appear at
     https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/zram-introduce-writeback-bio-batching-support-fix.patch

This patch will later appear in the mm-unstable branch at
    git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days

------------------------------------------------------
From: Sergey Senozhatsky <senozhatsky@chromium.org>
Subject: zram: fixup "introduce writeback bio batching support"
Date: Wed, 19 Nov 2025 18:46:53 +0900

add missing NULL check, per Dan

Link: https://lkml.kernel.org/r/20251119094715.2447022-1-senozhatsky@chromium.org
Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Brian Geffon <bgeffon@google.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Richard Chang <richardycc@google.com>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/block/zram/zram_drv.c |    3 +++
 1 file changed, 3 insertions(+)

--- a/drivers/block/zram/zram_drv.c~zram-introduce-writeback-bio-batching-support-fix
+++ a/drivers/block/zram/zram_drv.c
@@ -760,6 +760,9 @@ static void release_wb_req(struct zram_w
 
 static void release_wb_ctl(struct zram_wb_ctl *wb_ctl)
 {
+	if (!wb_ctl)
+		return;
+
 	/* We should never have inflight requests at this point */
 	WARN_ON(!list_empty(&wb_ctl->inflight_reqs));
 
_

Patches currently in -mm which might be from senozhatsky@chromium.org are

zram-introduce-writeback-bio-batching-support-fix.patch
zram-add-writeback-batch-size-device-attr.patch
zram-take-write-lock-in-wb-limit-store-handlers.patch
zram-drop-wb_limit_lock.patch
zram-rework-bdev-block-allocation.patch
zram-read-slot-block-idx-under-slot-lock.patch


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

end of thread, other threads:[~2025-11-19 23:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-18  3:43 + zram-introduce-writeback-bio-batching-support-fix.patch added to mm-unstable branch Andrew Morton
  -- strict thread matches above, loose matches on Subject: below --
2025-11-19 23:26 Andrew Morton

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.