Skip to content

block: ignore discard return value

Chaitanya Kulkarni linux-block linux-nvme linux-raid 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest3 patches 2 repliesApplied

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3md: ignore discard return valuedrivers/md/md.c+2 -20 replies
2/3nvmet: ignore discard return valuedrivers/nvme/target/io-cmd-bdev.c+7 -210 replies
3/3block: change return type to voidblock/blk-lib.c include/linux/blkdev.h+2 -30 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMartin K. PetersenJohannes ThumshirnChristoph Hellwig
SeriesR-b
1/3R-b R-b R-b
2/3R-b R-b R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH V4 0/3] block: ignore discard return value

Hi,

This version has remaining patches from the original series to change __blkdev_issue_discard() return type from int to void.

First two patches make md and nvmet drivers ignore the return value of __blkdev_issue_discard() call and last patch changes the actual function return type from int to void.

-ck

V3->V4:-

* Rebase md and nvmet patch on latest linux-block/for-next
* Add a last patch to change the return type of __blkdev_issue_discard() from int to void now that all call sites are fixed.

Chaitanya Kulkarni (3):
md: ignore discard return value
nvmet: ignore discard return value
block: change return type to void

 block/blk-lib.c                   |  3 +--
 drivers/md/md.c                   |  4 ++--
 drivers/nvme/target/io-cmd-bdev.c | 28 +++++++---------------------
 include/linux/blkdev.h            |  2 +-
 4 files changed, 11 insertions(+), 26 deletions(-)
Signature · 1 line
2.39.5