Allowing SCSI read operations > 32 kB
This commit is contained in:
parent
8ed28bec4e
commit
35ec27de00
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2012.01.20.091016"
|
#define Cdrskin_timestamP "2012.01.21.174103"
|
||||||
|
@ -465,9 +465,9 @@ int burn_read_data(struct burn_drive *d, off_t byte_address,
|
|||||||
wpt = data;
|
wpt = data;
|
||||||
for (; start < upto; start += chunksize) {
|
for (; start < upto; start += chunksize) {
|
||||||
chunksize = upto - start;
|
chunksize = upto - start;
|
||||||
if (chunksize > 16) {
|
if (chunksize > (BUFFER_SIZE / 2048)) {
|
||||||
chunksize = 16;
|
chunksize = (BUFFER_SIZE / 2048);
|
||||||
cpy_size = 16 * 2048;
|
cpy_size = BUFFER_SIZE;
|
||||||
} else
|
} else
|
||||||
cpy_size = data_size - *data_count;
|
cpy_size = data_size - *data_count;
|
||||||
if (flag & 2)
|
if (flag & 2)
|
||||||
|
Loading…
Reference in New Issue
Block a user