From: Bruce_Leverett@transarc.com
Subject: Re: Need help with DFS
Date: Wed, 28 Dec 1994 16:12:32 -0500 [thread overview]
Message-ID: <Mj0RH0qSMUQ_0pIWAi@transarc.com> (raw)
In-Reply-To: <3dbg9q$mrg@ilex.fernuni-hagen.de>
>Does anyone know if it is possible in DFS for two
>clients to open for read/write the same file and
>then concurrently write at disjoint areas of the
>file?
Two clients can open for read/write the same file, and then concurrently write
at any area of the file. All data written by either client will be immediately
visible to the other client, until it is overwritten. These semantics are
supported, whether or not the clients are writing to disjoint "areas". These
semantics are identical to those supported by Unix file systems on
single-processor systems.
In the DFS implementation of these semantics, the file is divided into "chunks",and the default size of a chunk is 64K bytes. When a client first accesses
a chunk, it asks the server, and the server sends it the data, along with a
"token", which is a promise that the client can read or modify the data. If
two clients are concurrently accessing the same "chunk", the chunk's data and
the corresponding tokens will be passed back and forth along the
network from one client to the server, then to the other client, then back to
the server, and so on. If this happens frequently, the performance of the
system may be unsatisfactory. Nevertheless, the correct semantics are
preserved, as described above.
prev parent reply other threads:[~1994-12-28 21:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-12-22 9:18 Need help with DFS Ngoc-Minh Le
1994-12-22 13:21 ` Carl Burnett
1994-12-22 15:11 ` Hal Lockhart
1994-12-28 21:12 ` Bruce_Leverett [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox