nbd: nbd_bg_flags_show: add NBD_FLAG_ROTATIONAL
Also handle NBD_FLAG_ROTATIONAL in our debug helper function Signed-off-by: Wouter Verhelst <w@uter.be> Cc: Eric Blake <eblake@redhat.Com> Link: https://lore.kernel.org/r/20240812133032.115134-6-w@uter.be Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
committed by
Jens Axboe
parent
e49dacc71e
commit
41372f5c9a
@@ -1725,6 +1725,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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user