summaryrefslogtreecommitdiff
path: root/sys/src/9/port/sdscsi.c
AgeCommit message (Collapse)Author
2013-05-19devsd: don't raise Enomem error if sdmalloc() fails, instead wait for the ↵cinap_lenrek
memory to become available filesystems do not handle i/o errors well (cwfs will abandon the blocks), and temporary exhaustion of kernel memory (because of too many i/o's in parallel) causes read and write on the partition to fail. i think it is better to wait for the memory to become available in this case. the single allocation is at max SDmaxio bytes, which makes it likely to become available. if we havnt even enought fo that, then rebooting the machine would be the best option. (aux/reboot)
2013-01-03scsi: do only 36 byte inquirycinap_lenrek
some devices freeze up with inqiry allocation length other than 36 bytes. as we do not really care about the vendor specific part of the inquiry, lets only do 36 byte inquiry for now.
2011-12-06fix cdrom media changecinap_lenrek
2011-07-10merge sd changes from 9atomcinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen