Skip to content

ceph: ceph file layout helper fixes

Alex Elder ceph-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ceph: move file layout helpers to ceph_fs.hinclude/linux/ceph/ceph_fs.h include/linux/ceph/osdmap.h+29 -290 replies
2/5ceph: make ceph file layout helpers take a pointerfs/ceph/ioctl.c fs/ceph/xattr.c include/linux/ceph/ceph_fs.h+24 -210 replies
3/5ceph: make use of ceph file layout helpersdrivers/block/rbd.c fs/ceph/ioctl.c fs/ceph/xattr.c +3 more+34 -312 replies
4/5ceph: use 64-bit math in ceph_calc_file_object_mapping()net/ceph/osdmap.c+70 -422 replies
5/5ceph: fix up the types of the file layout helpersfs/ceph/inode.c fs/ceph/ioctl.c fs/ceph/xattr.c +3 more+52 -492 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] ceph: ceph file layout helper fixes

This series makes a set of changes to the file layout helper macros used in Ceph. First, their definitions are moved into a more appropriate source file. Then they are changed to take a pointer rather than a struct argument. Next, changes are made so they're always used for accessing a Ceph inode's file layout information, and a symbolic value is used to represent "no preferred placement group." And finally, some changes ensure close attention is paid to the types of these values and what they get assigned to, and for most of them they're changed to use 64-bit unsigned values.

-Alex