2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-16 09:13:55 +08:00
linux-next/fs/ceph
Sage Weil 2f2dc05340 ceph: MDS client
The MDS (metadata server) client is responsible for submitting
requests to the MDS cluster and parsing the response.  We decide which
MDS to submit each request to based on cached information about the
current partition of the directory hierarchy across the cluster.  A
stateful session is opened with each MDS before we submit requests to
it, and a mutex is used to control the ordering of messages within
each session.

An MDS request may generate two responses.  The first indicates the
operation was a success and returns any result.  A second reply is
sent when the operation commits to disk.  Note that locking on the MDS
ensures that the results of updates are visible only to the updating
client before the operation commits.  Requests are linked to the
containing directory so that an fsync will wait for them to commit.

If an MDS fails and/or recovers, we resubmit requests as needed.  We
also reconnect existing capabilities to a recovering MDS to
reestablish that shared session state.  Old dentry leases are
invalidated.

Signed-off-by: Sage Weil <sage@newdream.net>
2009-10-06 11:31:09 -07:00
..
addr.c ceph: address space operations 2009-10-06 11:31:09 -07:00
buffer.c ceph: ref counted buffer 2009-10-06 11:31:07 -07:00
buffer.h ceph: ref counted buffer 2009-10-06 11:31:07 -07:00
ceph_debug.h ceph: client types 2009-10-06 11:31:07 -07:00
ceph_frag.c ceph: client types 2009-10-06 11:31:07 -07:00
ceph_frag.h ceph: client types 2009-10-06 11:31:07 -07:00
ceph_fs.c ceph: on-wire types 2009-10-06 11:31:06 -07:00
ceph_fs.h ceph: on-wire types 2009-10-06 11:31:06 -07:00
ceph_strings.c ceph: on-wire types 2009-10-06 11:31:06 -07:00
ceph_ver.h ceph: client types 2009-10-06 11:31:07 -07:00
dir.c ceph: directory operations 2009-10-06 11:31:08 -07:00
file.c ceph: file operations 2009-10-06 11:31:08 -07:00
inode.c ceph: inode operations 2009-10-06 11:31:08 -07:00
mds_client.c ceph: MDS client 2009-10-06 11:31:09 -07:00
mds_client.h ceph: MDS client 2009-10-06 11:31:09 -07:00
mdsmap.c ceph: MDS client 2009-10-06 11:31:09 -07:00
mdsmap.h ceph: MDS client 2009-10-06 11:31:09 -07:00
msgr.h ceph: on-wire types 2009-10-06 11:31:06 -07:00
rados.h ceph: on-wire types 2009-10-06 11:31:06 -07:00
super.c ceph: super.c 2009-10-06 11:31:07 -07:00
super.h ceph: client types 2009-10-06 11:31:07 -07:00
types.h ceph: client types 2009-10-06 11:31:07 -07:00
xattr.c ceph: inode operations 2009-10-06 11:31:08 -07:00