stgt: backing store NULL sets uaddr to 0

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

 



Hi all,

When I add a LUN using btype NULL:

tgtadm --lld ftgt --op new --mode logicalunit --tid 1 --lun 2 -b null2 --bstype null

I get this failure in the kernel on every read:

[  711.424119] scsi_map_user_pages(378) Could not handle request of size 4096.
[  711.431907] scsi_tgt_kspace_exec(514) cmd ffff88045b628eb8 ret -22 uaddr 0 len 4096 rw 2

scsi_map_user_pages() doesn't like uaddr == 0.

Should this be fixed in the kernel or in tgtd?
I'm using tgt-1.0.5 (very lightly modified to add ftgt).

	Thanks,
	Joe
--
To unsubscribe from this list: send the line "unsubscribe stgt" 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]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux