Message ID | 20240806133058.268058-2-w@uter.be (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v2,1/3] nbd: implement the WRITE_ZEROES command | expand |
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 58221b89965d..20e9f9fdeaae 100644 --- a/drivers/block/nbd.c +++ b/drivers/block/nbd.c @@ -1714,6 +1714,8 @@ static int nbd_dbg_flags_show(struct seq_file *s, void *unused) seq_puts(s, "NBD_FLAG_SEND_TRIM\n"); if (flags & NBD_FLAG_SEND_WRITE_ZEROES) seq_puts(s, "NBD_FLAG_SEND_WRITE_ZEROES\n"); + if (flags & NBD_FLAG_ROTATIONAL) + seq_puts(s, "NBD_FLAG_ROTATIONAL\n"); return 0; }
Also handle NBD_FLAG_ROTATIONAL in our debug helper function Signed-off-by: Wouter Verhelst <w@uter.be> --- drivers/block/nbd.c | 2 ++ 1 file changed, 2 insertions(+)