Received: by 2002:ac8:71d8:0:b0:40f:fb00:664b with SMTP id i24csp200272qtp; Fri, 4 Aug 2023 08:25:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEn7GpeLBA3cnJesEiO2yO/0JiM4YPk98e8RX/wKgjGrQybu23tSjEuDWVQ12e+p4eNkKRo X-Received: by 2002:a05:6a00:17a4:b0:687:4bd8:159a with SMTP id s36-20020a056a0017a400b006874bd8159amr2192066pfg.19.1691162739728; Fri, 04 Aug 2023 08:25:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691162739; cv=none; d=google.com; s=arc-20160816; b=JzZFdpmBsaIr3+nA+zxNtS42XZAhyHAC/MTmo7Ay5RZnBz0m5MUlRegGRz0f1PyX9r OJ4R0u4HNLmCSjUWsf66CZXTqweaEYbyKd9BxtQdFdQDdHz4r6iuA7GS+CauO1kN0i7b P7DGwb+iAqxnFUZzOQVsF+ENMGDG5KVZLu40b+CXqDJ+BuMo8KCrqr4LHpD3GPd9OVbF OxhhscqBP5cU/cQvOn3Gh74JoMLPhd92F99+9odauksWBQj74e+ohF4BbHGCsT+LiuWD GZwQ/ysvv5pieISo4eMET/pwRCFYEaBTzBgdR8++O+9GgsfjjfCR4a+tMx4e5qY8P5Ya Drdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Gbjb/YYdIOUUhZdLEroEhaRlSVdUPTLF9fvAMDU2jQ8=; fh=2+k2UmE8LvafU5qNzgAjM/Dn4M5GGukEmX+hFN4rQ+Y=; b=J7qSj8dHbZIqUDxcsMsZQ//+cL5Bu7aYVxAHdXxK+nml1AbnqxKhyeG0hH/F/LEUd4 2LLGVpDo6FO4c1Q26rzDU67TFQsdiPryGVsaK8XNZirChKi1Nk//o8bz6NdgKIVVSbnk 6ExaUMQ7u13KEq3lCW2niaTAaevNlLiG9UStG6P7pYzGdjj6+3YLnDWGaeB3ySm0TI5d bXx0jj0t5dyLzhi6ylOSqaiR5TtQ6s16NHplV0hobJIK7sC4H0UG0dr6Kke8vMqzQzTN zBwznH6BK8GoshERT5mffLzHIi+GNPHilCBB4c6x6v4H/38jxakisBfLVtOKRjPWLKgT TxVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TCHrtZ4B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ay23-20020a056a00301700b006872e4035b1si1856622pfb.37.2023.08.04.08.25.21; Fri, 04 Aug 2023 08:25:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TCHrtZ4B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230376AbjHDNP6 (ORCPT + 99 others); Fri, 4 Aug 2023 09:15:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229891AbjHDNP4 (ORCPT ); Fri, 4 Aug 2023 09:15:56 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4BCED4C0B for ; Fri, 4 Aug 2023 06:13:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1691154831; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Gbjb/YYdIOUUhZdLEroEhaRlSVdUPTLF9fvAMDU2jQ8=; b=TCHrtZ4BLNIcAD0ojDgfOiAUc9rT6eq4eZ5nR7oJancu3vo7WYRSwD0ugYVGEJlMqy2LM2 n5huqyhb4Tf+dlC8qWqWreeV0wf7Oh1YWfteO7D8/VysDZGtJUV8zfKAjizLxkMEieKlZH yg2vygzGAyedk3fO8W+tcpcqbP5ZpgQ= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-599-BJ1T9Z3_MXqFOhJ9Rx3dIg-1; Fri, 04 Aug 2023 09:13:48 -0400 X-MC-Unique: BJ1T9Z3_MXqFOhJ9Rx3dIg-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8ED88104458D; Fri, 4 Aug 2023 13:13:47 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.42.28.131]) by smtp.corp.redhat.com (Postfix) with ESMTP id DFBFCC5796B; Fri, 4 Aug 2023 13:13:45 +0000 (UTC) From: David Howells To: Ilya Dryomov , Xiubo Li Cc: David Howells , Jeff Layton , Dongsheng Yang , ceph-devel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH 08/18] ceph: Remove osd_req_op_cls_response_data_pages() Date: Fri, 4 Aug 2023 14:13:17 +0100 Message-ID: <20230804131327.2574082-9-dhowells@redhat.com> In-Reply-To: <20230804131327.2574082-1-dhowells@redhat.com> References: <20230804131327.2574082-1-dhowells@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove osd_req_op_cls_response_data_pages() as it's no longer used. Signed-off-by: David Howells --- include/linux/ceph/osd_client.h | 5 ----- net/ceph/osd_client.c | 12 ------------ 2 files changed, 17 deletions(-) diff --git a/include/linux/ceph/osd_client.h b/include/linux/ceph/osd_client.h index e1533f3314ad..0b02e272acc2 100644 --- a/include/linux/ceph/osd_client.h +++ b/include/linux/ceph/osd_client.h @@ -529,11 +529,6 @@ void osd_req_op_cls_request_data_bvecs(struct ceph_osd_request *osd_req, void osd_req_op_cls_response_databuf(struct ceph_osd_request *osd_req, unsigned int which, struct ceph_databuf *dbuf); -extern void osd_req_op_cls_response_data_pages(struct ceph_osd_request *, - unsigned int which, - struct page **pages, u64 length, - u32 offset, bool pages_from_pool, - bool own_pages); int osd_req_op_cls_init(struct ceph_osd_request *osd_req, unsigned int which, const char *class, const char *method); extern int osd_req_op_xattr_init(struct ceph_osd_request *osd_req, unsigned int which, diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c index 2ba6f2ce5fb6..aa9d07221149 100644 --- a/net/ceph/osd_client.c +++ b/net/ceph/osd_client.c @@ -386,18 +386,6 @@ void osd_req_op_cls_response_databuf(struct ceph_osd_request *osd_req, } EXPORT_SYMBOL(osd_req_op_cls_response_databuf); -void osd_req_op_cls_response_data_pages(struct ceph_osd_request *osd_req, - unsigned int which, struct page **pages, u64 length, - u32 offset, bool pages_from_pool, bool own_pages) -{ - struct ceph_osd_data *osd_data; - - osd_data = osd_req_op_data(osd_req, which, cls, response_data); - ceph_osd_data_pages_init(osd_data, pages, length, offset, - pages_from_pool, own_pages); -} -EXPORT_SYMBOL(osd_req_op_cls_response_data_pages); - static u64 ceph_osd_data_length(struct ceph_osd_data *osd_data) { switch (osd_data->type) {