mbox series

[0/2] null_blk: small fixes for zoned mode

Message ID 20200520230152.36120-1-chaitanya.kulkarni@wdc.com (mailing list archive)
Headers show
Series null_blk: small fixes for zoned mode | expand

Message

Chaitanya Kulkarni May 20, 2020, 11:01 p.m. UTC
Hi,

This is a small patch-series which fixes potential oops for zoned mode.
Also, it disables the discard when nullb configured as zoned for
membacked mode.

Regards,
Chaitanya

Chaitanya Kulkarni (2):
  null_blk: return error for invalid zone size
  null_blk: don't allow discard for zoned mode

 drivers/block/null_blk_main.c  | 7 +++++++
 drivers/block/null_blk_zoned.c | 4 ++++
 2 files changed, 11 insertions(+)

Comments

Jens Axboe May 21, 2020, 2:47 p.m. UTC | #1
On 5/20/20 5:01 PM, Chaitanya Kulkarni wrote:
> Hi,
> 
> This is a small patch-series which fixes potential oops for zoned mode.
> Also, it disables the discard when nullb configured as zoned for
> membacked mode.

Applied for 5.7, thanks.