From: Andy Grover Date: Mon, 11 Nov 2013 16:59:17 +0000 (-0800) Subject: target: Pass through I/O topology for block backstores X-Git-Tag: v3.13-rc1~5^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f7caf6aa74a4f4ad21ebe08bf23b594fce45ca7;p=pandora-kernel.git target: Pass through I/O topology for block backstores In addition to block size (already implemented), passing through alignment offset, logical-to-phys block exponent, I/O granularity and optimal I/O length will allow initiators to properly handle layout on LUNs with 4K block sizes. Tested with various weird values via scsi_debug module. One thing to look at with this patch is the new block limits values -- instead of granularity 1 optimal 8192, Lio will now be returning whatever the block device says, which may affect performance. Signed-off-by: Andy Grover Acked-by: Martin K. Petersen Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed