lkml.org 
[lkml]   [2004]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Format Unit can take many hours
    On Tue, May 11 2004, Kurt Garloff wrote:
    > Hi,
    >
    > the timeout for FORMAT_UNIT should be much longer; I've seen 8hrs
    > already (75Gig). I've increased the timeout from 2hrs to 12hrs.
    >
    > Regards,
    > --
    > Kurt Garloff <garloff@suse.de> Cologne, DE
    > SUSE LINUX AG, Nuernberg, DE SUSE Labs (Head)

    > --- linux-2.6.5.orig/drivers/scsi/scsi_ioctl.c 2004-04-04 05:38:20.000000000 +0200
    > +++ linux-2.6.5/drivers/scsi/scsi_ioctl.c 2004-05-11 08:59:12.837421215 +0200
    > @@ -26,12 +26,12 @@
    > #include "scsi_logging.h"
    >
    > #define NORMAL_RETRIES 5
    > -#define IOCTL_NORMAL_TIMEOUT (10 * HZ)
    > -#define FORMAT_UNIT_TIMEOUT (2 * 60 * 60 * HZ)
    > +#define IOCTL_NORMAL_TIMEOUT (10 * HZ)
    > +#define FORMAT_UNIT_TIMEOUT (12 * 60 * 60 * HZ)
    > #define START_STOP_TIMEOUT (60 * HZ)
    > #define MOVE_MEDIUM_TIMEOUT (5 * 60 * HZ)
    > #define READ_ELEMENT_STATUS_TIMEOUT (5 * 60 * HZ)
    > -#define READ_DEFECT_DATA_TIMEOUT (60 * HZ ) /* ZIP-250 on parallel port takes as long! */
    > +#define READ_DEFECT_DATA_TIMEOUT (60 * HZ) /* ZIP-250 on parallel port takes as long! */
    >
    > #define MAX_BUF PAGE_SIZE

    block/scsi_ioctl.c should likely receive similar treatment then.

    --
    Jens Axboe

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:03    [W:0.023 / U:180.364 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site