[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171213015204.GA28668@byw>
Date: Tue, 12 Dec 2017 20:52:04 -0500
From: Yaowei Bai <baiyaowei@...s.chinamobile.com>
To: Ilya Dryomov <idryomov@...il.com>
Cc: "Yan, Zheng" <zyan@...hat.com>, Sage Weil <sage@...hat.com>,
Ceph Development <ceph-devel@...r.kernel.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fs/ceph: delete unused ceph_file_layout_is_valid function
On Tue, Dec 12, 2017 at 11:15:05AM +0100, Ilya Dryomov wrote:
> On Tue, Dec 12, 2017 at 2:56 AM, Yaowei Bai
> <baiyaowei@...s.chinamobile.com> wrote:
> > There's no users of ceph_file_layout_is_valid, remove it.
>
> It'll get a user in the next kernel release -- we'll remove ad-hoc
> checks from ceph_calc_file_object_mapping() which is executed on every
> mapping and call ceph_file_layout_is_valid() once per layout instead.
Maybe we can re-add it when it's used indeed.
>
> Thanks,
>
> Ilya
Powered by blists - more mailing lists