* Ian Kent <raven@themaw.net> 2008-03-13 16:00Netlink is a messaging protocol, synchronization is up to the user. I suggest that you send a netlink notification to a multicast group for every expire candiate when an expire request is received. Unmount daemons simply subscribe to the group and wait for work to do. Put the request onto a list including the netlink pid and sequence number so you can address the orignal source of the request later on. Exit the netlink receive function and wait for the userspace daemon to get back to you. The userspace daemon notifies you of successful or unsuccesful unmount attempts by sending notifications. Update your list entry accordingly and once the request is fullfilled send a notification to the original source of the request by using the stored pid and sequence number. The userspace application requesting the expire can simply block on the receival of this notification in order to make the whole operation synchronous. Sounds acceptable? -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Roman Zippel | Re: [announce] CFS-devel, performance improvements |
| Andrew Morton | 2.6.23-rc4-mm1 |
| Oliver Pinter | Re: x86: 4kstacks default |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
git: | |
| Ken Pratt | pack operation is thrashing my server |
| Johannes Schindelin | Re: git on MacOSX and files with decomposed utf-8 file names |
| martin f krafft | confused about preserved permissions |
| Sean | Re: VCS comparison table |
| Richard Stallman | Real men don't attack straw men |
| Brandon Lee | DELL PERC 5iR slow performance |
| Chris Tankersley | Dell PERC 3/Di - No Disks Found |
| Sunnz | How do I configure sendmail? |
| Mark Lord | Re: 2.6.25-rc8: FTP transfer errors |
| Jeff Kirsher | [NET-NEXT PATCH 0/9] e1000: update and cleanups |
| Dâniel | Re: [PATCH] tcp FRTO: in-order-only "TCP proxy" fragility workaround |
| David Miller | Re: sockets affected by IPsec always block (2.6.23) |
