Made chunksize=32s default with -check_media

master
Thomas Schmitt 11 years ago
parent 6668ab7d32
commit 009a004d9a
  1. 7
      xorriso/drive_mgt.c
  2. 4
      xorriso/xorriso.1
  3. 2
      xorriso/xorriso.info
  4. 4
      xorriso/xorriso.texi
  5. 2
      xorriso/xorriso_timestamp.h

@ -2768,7 +2768,7 @@ ex:;
if(async_md5) {
Xorriso__end_slave_md5(&state, 10000, 0);
sprintf(xorriso->info_text,
"async_chunks=%d , chunk_size=%d , w_sleeps: %.f , r_sleeps: %.f",
"async_chunks=%d , chunk_size=%ds , w_sleeps: %.f , r_sleeps: %.f",
state.num_chunks, read_chunk, (double) state.w_sleeps,
(double) state.r_sleeps);
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "DEBUG", 0);
@ -2790,7 +2790,7 @@ ex:;
int Xorriso_check_media(struct XorrisO *xorriso, struct SpotlisT **spotlist,
struct CheckmediajoB *job, int flag)
{
int media_blocks= 0, read_chunk= 16, ret, mode, start_lba= 0;
int media_blocks= 0, read_chunk= 32, ret, mode, start_lba= 0;
int blocks, os_errno, i, j, last_track_end= -1, track_blocks, track_lba;
int num_sessions, num_tracks, declare_untested= 0, md5_start;
int read_capacity= -1, end_lba, hret, count, quality, profile_no;
@ -2816,8 +2816,7 @@ int Xorriso_check_media(struct XorrisO *xorriso, struct SpotlisT **spotlist,
ret = burn_disc_get_profile(drive, &profile_no, profile_name);
if(ret <= 0)
profile_no= 0;
if(profile_no >= 0x40 && profile_no <= 0x43) /* BD-ROM, BD-R, BD-RE */
read_chunk= 32;
if(job->min_block_size != 0)
read_chunk= job->min_block_size;

@ -9,7 +9,7 @@
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH XORRISO 1 "Version 1.2.3, Mai 01, 2012"
.TH XORRISO 1 "Version 1.2.3, Mai 02, 2012"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
@ -3661,7 +3661,7 @@ This gets rounded down to full blocks of 2048 bytes. 0 means automatic size.
\fBasync_chunks=number\fR
enables asynchronous MD5 processing if number is 2 or larger.
In this case the given number of read chunks is allocated as fifo buffer.
On very fast MMC drives try: chunk_size=32s async_chunks=16.
On very fast MMC drives try: chunk_size=64s async_chunks=16.
.TP
\fB\-check_md5\fR severity iso_rr_path [***]
Compare the data content of the given files in the loaded image with their

@ -3227,7 +3227,7 @@ transmission errors.
async_chunks=number
enables asynchronous MD5 processing if number is 2 or larger.
In this case the given number of read chunks is allocated as
fifo buffer. On very fast MMC drives try: chunk_size=32s
fifo buffer. On very fast MMC drives try: chunk_size=64s
async_chunks=16.
-check_md5 severity iso_rr_path [***]

@ -50,7 +50,7 @@
@c man .\" First parameter, NAME, should be all caps
@c man .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
@c man .\" other parameters are allowed: see man(7), man(1)
@c man .TH XORRISO 1 "Version 1.2.3, Mai 01, 2012"
@c man .TH XORRISO 1 "Version 1.2.3, Mai 02, 2012"
@c man .\" Please adjust this date whenever revising the manpage.
@c man .\"
@c man .\" Some roff macros, for reference:
@ -4313,7 +4313,7 @@ This gets rounded down to full blocks of 2048 bytes. 0 means automatic size.
@item async_chunks=number
enables asynchronous MD5 processing if number is 2 or larger.
In this case the given number of read chunks is allocated as fifo buffer.
On very fast MMC drives try: chunk_size=32s async_chunks=16.
On very fast MMC drives try: chunk_size=64s async_chunks=16.
@end table
@c man .TP
@kindex -check_md5 verifies file checksum

@ -1 +1 @@
#define Xorriso_timestamP "2012.05.01.075022"
#define Xorriso_timestamP "2012.05.02.111016"

Loading…
Cancel
Save