Messages in this thread |  | | Date | Wed, 13 Sep 2000 18:18:22 +0200 | From | "Andi Kleen" <> | Subject | Re: NFS locking bug -- limited mtime resolution means nfs_lock() does not provide coherency guarantee |
| |
On Wed, Sep 13, 2000 at 11:51:45AM -0400, Theodore Y. Ts'o wrote: > > So this is a really stupid question, but I'll ask it anyway. If you > just need a cookie, is there any way that you might be able to steal a > few bits from i_generation field for that purpose? (This assumes that > we only worry about solving the problem for NFS.)
No, it does not help. i_generation is only in the NFS file handle, but not in the fattr/file id this is used for cache checks. The NFS file handle has to stay identical anyways, as long as the inode is not deleted/reused.
-Andi
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |