ceph: factor out libceph from Ceph file system
This factors out protocol and low-level storage parts of ceph into a
separate libceph module living in net/ceph and include/linux/ceph. This
is mostly a matter of moving files around. However, a few key pieces
of the interface change as well:
- ceph_client becomes ceph_fs_client and ceph_client, where the latter
captures the mon and osd clients, and the fs_client gets the mds client
and file system specific pieces.
- Mount option parsing and debugfs setup is correspondingly broken into
two pieces.
- The mon client gets a generic handler callback for otherwise unknown
messages (mds map, in this case).
- The basic supported/required feature bits can be expanded (and are by
ceph_fs_client).
No functional change, aside from some subtle error handling cases that got
cleaned up in the refactoring process.
Signed-off-by:
Sage Weil <sage@newdream.net>
Showing
- MAINTAINERS 2 additions, 0 deletionsMAINTAINERS
- fs/ceph/Kconfig 2 additions, 12 deletionsfs/ceph/Kconfig
- fs/ceph/Makefile 2 additions, 9 deletionsfs/ceph/Makefile
- fs/ceph/README 0 additions, 20 deletionsfs/ceph/README
- fs/ceph/addr.c 34 additions, 31 deletionsfs/ceph/addr.c
- fs/ceph/caps.c 18 additions, 17 deletionsfs/ceph/caps.c
- fs/ceph/ceph_frag.c 2 additions, 1 deletionfs/ceph/ceph_frag.c
- fs/ceph/debugfs.c 94 additions, 313 deletionsfs/ceph/debugfs.c
- fs/ceph/dir.c 28 additions, 27 deletionsfs/ceph/dir.c
- fs/ceph/export.c 3 additions, 2 deletionsfs/ceph/export.c
- fs/ceph/file.c 26 additions, 181 deletionsfs/ceph/file.c
- fs/ceph/inode.c 10 additions, 9 deletionsfs/ceph/inode.c
- fs/ceph/ioctl.c 7 additions, 4 deletionsfs/ceph/ioctl.c
- fs/ceph/locks.c 3 additions, 3 deletionsfs/ceph/locks.c
- fs/ceph/mds_client.c 51 additions, 35 deletionsfs/ceph/mds_client.c
- fs/ceph/mds_client.h 7 additions, 13 deletionsfs/ceph/mds_client.h
- fs/ceph/mdsmap.c 6 additions, 5 deletionsfs/ceph/mdsmap.c
- fs/ceph/snap.c 6 additions, 4 deletionsfs/ceph/snap.c
- fs/ceph/strings.c 3 additions, 79 deletionsfs/ceph/strings.c
- fs/ceph/super.c 472 additions, 682 deletionsfs/ceph/super.c
Loading
Please register or sign in to comment