Hi Vegard. On Sun, Jun 15, 2008 at 09:47:03AM +0200, Vegard Nossum (vegard.nossum@gmail.com) wrote:Task of this function is to copy as much new configs added by user (or by remote server) as we can. If config already exists (was copied in previous iterations) we skip it. If it does not, we allocate new structure and initialize it. If allocation fails, it is a serious error and unlikely we want to proceed, so we jump out of the loop and drop all states and return error. If we just failed to initialie new state (like connection was refused by remote server), we simply drop that failed case and proceed further. In theory we still can leave that half-initialized states in the list, and any attempt to send request via them will try to initialize its network part, but thread creation and allocation itself will be tried to recover, so I just drop such state here. I think initialization function should not return error if it failed to connect or create a socket, since it can/will be recovered later if needed. We should not return eexist, from non-error label, but at the only place, where this return value is checked (mount time initialization), superblock list is empty and thus this error can not happen. -- Evgeniy Polyakov --
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
| Christian Kujau | 2.6.20.4: NETDEV WATCHDOG and lockups |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Jack Steiner | Re: [patch] my mmu notifiers |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Arjan van de Ven | Re: [GIT]: Networking |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Jens Axboe | Re: [BUG] New Kernel Bugs |
| YAMAMOTO Takashi | removing VOPs |
| Lennart Augustsson | Re: FreeBSD 5/6/7 kernel emulator for NetBSD 2.x |
| Daniel Carosone | Re: direct I/O |
| Brian Buhrow | Re: /sbin/reboot and secmodel |
