Re: [PATCH 0/6] code cleanup and minor optimization for cap reservation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jul 28, 2018 at 11:19 PM Chengguang Xu <cgxu519@xxxxxxx> wrote:
>
> This patch set does code cleanup and minor optimization for cap
> reservation.
>
> Chengguang Xu (6):
>   ceph: introduce a helper for reducing duplicated code
>   ceph: refactor ceph_unreserve_caps()
>   ceph: refactor error handling code in ceph_reserve_caps()
>   ceph: change return type of ceph_unreserve_caps() to void
>   ceph: let ceph_trim_caps() return trimmed cap number
>   ceph: minor optimization for cap reservation
>

patch 1~4 are applied. I drop 5~6 because trimming a little more caps is not bad

Thanks
Yan, Zheng

>  fs/ceph/caps.c       | 126 +++++++++++++++++++++----------------------
>  fs/ceph/mds_client.c |   6 ++-
>  fs/ceph/super.h      |   2 +-
>  3 files changed, 65 insertions(+), 69 deletions(-)
>
> --
> 2.17.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux