Re: Too big sectors - exceeding fabric_max_sectors

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

 



>Ok, so this is with a virtio-blk backend, yes..?

Yes, it is a virtio-blk backend.

> For reference, please
>send along the:
>
>   head /sys/block/$VIRTIO_BLK/queue/*
>
>output in order to see what hardware limits are reported to block.

Here is the output for one of the virtio devices:

==> /sys/block/vdb/queue/add_random <==
1

==> /sys/block/vdb/queue/discard_granularity <==
0

==> /sys/block/vdb/queue/discard_max_bytes <==
0

==> /sys/block/vdb/queue/discard_zeroes_data <==
0

==> /sys/block/vdb/queue/hw_sector_size <==
512

==> /sys/block/vdb/queue/iosched <==
head: error reading `/sys/block/vdb/queue/iosched': Is a directory

==> /sys/block/vdb/queue/iostats <==
1

==> /sys/block/vdb/queue/logical_block_size <==
512

==> /sys/block/vdb/queue/max_hw_sectors_kb <==
2147483647

==> /sys/block/vdb/queue/max_integrity_segments <==
0

==> /sys/block/vdb/queue/max_sectors_kb <==
512

==> /sys/block/vdb/queue/max_segments <==
126

==> /sys/block/vdb/queue/max_segment_size <==
4294967295

==> /sys/block/vdb/queue/minimum_io_size <==
512

==> /sys/block/vdb/queue/nomerges <==
0

==> /sys/block/vdb/queue/nr_requests <==
128

==> /sys/block/vdb/queue/optimal_io_size <==
0

==> /sys/block/vdb/queue/physical_block_size <==
512

==> /sys/block/vdb/queue/read_ahead_kb <==
128

==> /sys/block/vdb/queue/rotational <==
1

==> /sys/block/vdb/queue/rq_affinity <==
1

==> /sys/block/vdb/queue/scheduler <==
noop deadline [cfq]



>Just to double check, please confirm if huge pages is enabled/disabled
>on this machine..?

[root@hydra-2-target-server ~]# cat /sys/devices/system/node/node*/meminfo
| fgrep Huge
Node 0 AnonHugePages:         0 kB
Node 0 HugePages_Total:     0
Node 0 HugePages_Free:      0
Node 0 HugePages_Surp:      0

[root@hydra-2-target-server ~]# cat /proc/sys/vm/nr_hugepages
0


>So I'll try to reproduce using some different combinations of
>fabric_max_sectors, but for the moment please apply the following debug
>patch to dump struct scatterlist + struct bio members and try to
>reproduce.

Am working on applying the patch now, and will get back to you when I have
a result.

Regards,

Kelsey


--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux