Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Slawa Olhovchenkov                   2:5030/500     20 Jan 2008  20:56:54
 To : All
 Subject : Вести с полей
 -------------------------------------------------------------------------------- 
 
 
 imp         2007-12-27 16:38:29 UTC
 
   FreeBSD src repository
 
   Modified files:
     sys/kern             vfs_bio.c vfs_mount.c
   Log:
   A partial solution to some of the 'pull the umass device with a
   mounted FS' problems.  These are more along the lines of 'avoiding an
   avoidable panic' than a complete solution to removable devices.  We
   now close the barn door after the horse has gotten lose and has been
   hit by a truck, as it were.  The barn no longer catches fire in this
   case, but the horse is still dead :-).
 
   The vfs_bio.c fix causes us not to put a failed write back into the
   dirty pool if the error returned was ENXIO.  In that case, the buffer
   is treated like any other clean buffer that's being retured.  ENXIO
   means the device isn't there anymore and will never be there again in
   the future, so retrying is futile.
 
   The vfs_mount.c fix treats 'ENXIO' as success for unmounting a file
   system.  If the device is gone, retrying later won't help and we'll
   never be able to unmount the device.
 
   These two are part of a larger patch set submitted by the author.  The
   other patches will be forth coming.  I added comments to these two
   patches.
 
   Submitted by: Henrik Gulbrandsen
   Reviewed by: phk@
   PR: usb/46176 (partial)
 ... В раю намного мягче климат, но лучше общество в аду.
 --- GoldED+/BSD 1.1.5
  * Origin:  (2:5030/500)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Вести с полей   Slawa Olhovchenkov   20 Jan 2008 20:56:54 
Архивное /ru.unix.bsd/222147937d6e.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional