Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8dcbdc74 authored by San Mehat's avatar San Mehat Committed by Jens Axboe
Browse files

block: block_dump: Add number of sectors to debug output

parent 175b79f0
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1612,11 +1612,12 @@ void submit_bio(int rw, struct bio *bio)

		if (unlikely(block_dump)) {
			char b[BDEVNAME_SIZE];
			printk(KERN_DEBUG "%s(%d): %s block %Lu on %s\n",
			printk(KERN_DEBUG "%s(%d): %s block %Lu on %s (%u sectors)\n",
			current->comm, task_pid_nr(current),
				(rw & WRITE) ? "WRITE" : "READ",
				(unsigned long long)bio->bi_sector,
				bdevname(bio->bi_bdev, b));
				bdevname(bio->bi_bdev, b),
				count);
		}
	}