Re: [PATCH] fio: add NVMe engine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/27/20 12:19 AM, Alexey Dobriyan wrote:
>>> +static int fio_nvme_read(struct fio_file *f, struct io_u *io_u)
>>> +{
>>> +	fio_unused uint32_t nsid = get_nsid(f);
>>> +	struct nvme_user_io cmd = {};
>>> +
>>> +	//printf("R %u %llu/%llu\n", nsid, io_u->offset, io_u->xfer_buflen);
>>
>> Leftover debug
> 
> dprint(FD_IO is pretty chatty, but OK.

Having stubbed out debug is pointless, since you need to edit the file
to enable it anyway, and recompile. At that point you may as well just
add the printf.

-- 
Jens Axboe




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux