DEVFS - Make synchronization prior to mountroot more robust
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 10 Aug 2009 03:25:57 +0000 (20:25 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 10 Aug 2009 03:25:57 +0000 (20:25 -0700)
commit1c0fe2ad042353c419ebe87bfcd7266612b25597
tree5425eeba0b597c038fb3e18701a9c94284524260
parent5c9fa1f2041f8240049888ff571f7de9fb832cde
DEVFS - Make synchronization prior to mountroot more robust

* A single disk_config() + devfs_config() isn't enough, call them twice.
  (tested with TWA driver which seems to trigger the problem).

  Not exactly sure why one pass doesn't do the job but I think
  pending devfs commands might trigger additional disk probe
  operations.
sys/kern/vfs_conf.c