Commit 41372f5c authored by Wouter Verhelst's avatar Wouter Verhelst Committed by Jens Axboe
Browse files

nbd: nbd_bg_flags_show: add NBD_FLAG_ROTATIONAL



Also handle NBD_FLAG_ROTATIONAL in our debug helper function

Signed-off-by: default avatarWouter 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: default avatarJens Axboe <axboe@kernel.dk>
parent e49dacc7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;
}