lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <637796ED17F7774FB27D6AAE3C6951584A947AF0@SZXEMA509-MBS.china.huawei.com>
Date:   Sat, 24 Sep 2016 07:08:53 +0000
From:   Lipengcheng <lpc.li@...ilicon.com>
To:     "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
        Mathias Nyman <mathias.nyman@...el.com>
CC:     "linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
        "usb-storage@...ts.one-eyed-alien.net" 
        <usb-storage@...ts.one-eyed-alien.net>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        Fangzhuanghai <fangzhuanghai@...ilicon.com>,
        Caizhiyong <caizhiyong@...ilicon.com>
Subject: Why is the max_sectors set the 240

Hi,
Some special superspeed u3 disk connect xhci control. Then the u3 disk is read/write and has the Transfer error on endpoint (COMP_TX_ERR) error. However in the pc windows does not have the problem.By analysis, the windows is each transfer 64K size. The Linux is 120K size. In the scsiglue.c, the max_sectors value set the 128 and each transfer 64K size. Then the Linux system is no problem too. Why is the max_sectors set the 240?  May the max_sectors be the other values?

Best Regard
Pengcheng Li

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ