Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Aug 2006 21:33:26 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/geom geom_gpt.c
Message-ID:  <200608082133.k78LXQj1057150@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      2006-08-08 21:33:26 UTC

  FreeBSD src repository

  Modified files:
    sys/geom             geom_gpt.c 
  Log:
  Fix a phase-ordering bug: check the mediasize and sectorsize after
  we obtained access. It is possible that GPT gets to taste a disk
  first, which means the disk has not been opened before and it will
  not get opened until after we checked the mediasize and sectorsize.
  However, since the mediasize and sectorsize are determined at open
  and that happens when access is optained, checking the mediasize
  and sectorsize before obtaining access may result in GPT rejecting
  the disk.
  
  Revision  Changes    Path
  1.40      +21 -20    src/sys/geom/geom_gpt.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608082133.k78LXQj1057150>