On Thu, 30 Nov 2006, Christoph Hellwig wrote:Sure. And having readdirplus over the wire is a great performance win for NFS, but it works only because NFS metadata consistency is already weak. Giving applications an atomic readdirplus makes things considerably simpler for distributed filesystems that want to provide strong consistency (and a reasonable interpretation of what POSIX semantics mean for a distributed filesystem). In particular, it allows the application (e.g. ls --color or -al) to communicate to the kernel and filesystem that it doesn't care about the relative ordering of each subsequent stat() with respect to other writers (possibly on different hosts, with whom synchronization can incur a heavy performance penalty), but rather only wants a snapshot of dentry+inode state. As Andreas already mentioned, detecting this (exceedingly common) case may be possible with heuristics (e.g. watching the ordering of stat() calls vs the filldir resuls), but that's hardly ideal when a cleaner interface can explicitly capture the application's requirements. sage - 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) |
