[jira] [Updated] (TS-1163) Raw disks with more than (2^32)-1 sectors (usually 2TB) are not supported on linux

2012-04-24 Thread B Wyatt (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-1163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

B Wyatt updated TS-1163:


Attachment: blkgetsize64.v2.bwyatt.patch

It is a good thing I didn't!  It had a bug.

Turns out the old 32bit ioctl's units was 512byte blocks, hence the adjustment 
based on the hardware sector size. 

the 64 bit ioctl's unit is not coerced (and completely different), so it can 
ignore the adjustment. 

the v2 patch reflects this and supports large disks with sector size > 512.

> Raw disks with more than (2^32)-1 sectors (usually 2TB) are not supported on 
> linux
> --
>
> Key: TS-1163
> URL: https://issues.apache.org/jira/browse/TS-1163
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Cache
>Reporter: B Wyatt
>Assignee: B Wyatt
> Fix For: 3.3.0
>
> Attachments: blkgetsize64.bwyatt.patch, blkgetsize64.v2.bwyatt.patch
>
>
> Due to 32bit integers in both the trafficersever code and the ioctl used to 
> determine raw disk size, the number of sectors reported to the cache storage 
> system is bound to 0-0x.  If a disk has 512 byte sectors and is 
> larger than 2TB it will report (num_sectors % 0x) *  512 bytes 
> avaliable.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (TS-1163) Raw disks with more than (2^32)-1 sectors (usually 2TB) are not supported on linux

2012-04-09 Thread B Wyatt (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-1163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

B Wyatt updated TS-1163:


Fix Version/s: (was: 3.1.4)
   3.3.0

> Raw disks with more than (2^32)-1 sectors (usually 2TB) are not supported on 
> linux
> --
>
> Key: TS-1163
> URL: https://issues.apache.org/jira/browse/TS-1163
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Cache
>Reporter: B Wyatt
>Assignee: B Wyatt
> Fix For: 3.3.0
>
> Attachments: blkgetsize64.bwyatt.patch
>
>
> Due to 32bit integers in both the trafficersever code and the ioctl used to 
> determine raw disk size, the number of sectors reported to the cache storage 
> system is bound to 0-0x.  If a disk has 512 byte sectors and is 
> larger than 2TB it will report (num_sectors % 0x) *  512 bytes 
> avaliable.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (TS-1163) Raw disks with more than (2^32)-1 sectors (usually 2TB) are not supported on linux

2012-03-23 Thread Leif Hedstrom (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-1163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leif Hedstrom updated TS-1163:
--

Fix Version/s: 3.1.4

> Raw disks with more than (2^32)-1 sectors (usually 2TB) are not supported on 
> linux
> --
>
> Key: TS-1163
> URL: https://issues.apache.org/jira/browse/TS-1163
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Cache
>Reporter: B Wyatt
>Assignee: B Wyatt
> Fix For: 3.1.4
>
> Attachments: blkgetsize64.bwyatt.patch
>
>
> Due to 32bit integers in both the trafficersever code and the ioctl used to 
> determine raw disk size, the number of sectors reported to the cache storage 
> system is bound to 0-0x.  If a disk has 512 byte sectors and is 
> larger than 2TB it will report (num_sectors % 0x) *  512 bytes 
> avaliable.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (TS-1163) Raw disks with more than (2^32)-1 sectors (usually 2TB) are not supported on linux

2012-03-23 Thread B Wyatt (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-1163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

B Wyatt updated TS-1163:


Attachment: blkgetsize64.bwyatt.patch

It will still be a little bit while I dig myself out of my hole and begin 
directly committing fixes to the repo.

Until then, I've attached a patch here that should work on codebases as old as 
June 2011 that provides support for larger disks via the BLKGETSIZE64 ioctl on 
linux.

> Raw disks with more than (2^32)-1 sectors (usually 2TB) are not supported on 
> linux
> --
>
> Key: TS-1163
> URL: https://issues.apache.org/jira/browse/TS-1163
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Cache
>Reporter: B Wyatt
>Assignee: B Wyatt
> Attachments: blkgetsize64.bwyatt.patch
>
>
> Due to 32bit integers in both the trafficersever code and the ioctl used to 
> determine raw disk size, the number of sectors reported to the cache storage 
> system is bound to 0-0x.  If a disk has 512 byte sectors and is 
> larger than 2TB it will report (num_sectors % 0x) *  512 bytes 
> avaliable.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira