From patchwork Wed Nov 1 00:50:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiubo Li X-Patchwork-Id: 740076 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4485A7E9 for ; Wed, 1 Nov 2023 00:52:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="F2r3WPJt" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DD3CED for ; Tue, 31 Oct 2023 17:52:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1698799964; 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; bh=Aq/8m8/vrNrV7w5xqzboZmGC8YqQ2yTVvMuOsSJDTSM=; b=F2r3WPJtYymQVz1yc2K/GgBvMDgwgO8Q1liLnvNWJSgC9Qp3Tp8skhFiGILgjHow/0GAfg O1ItNyF/ROWsZo2EIxSNOZmhD9f5W3W1De8b6Dy+dvXw2gaxd5EtBkKWoH6zkFefSAiN6M ddflhku0INcERX8yVtKVbEZeFVQ+SYM= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-262-A1zzqiupNOeC8QK1ED6YAg-1; Tue, 31 Oct 2023 20:52:39 -0400 X-MC-Unique: A1zzqiupNOeC8QK1ED6YAg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9A8643804514; Wed, 1 Nov 2023 00:52:39 +0000 (UTC) Received: from li-a71a4dcc-35d1-11b2-a85c-951838863c8d.ibm.com.com (unknown [10.72.112.128]) by smtp.corp.redhat.com (Postfix) with ESMTP id D634F2166B27; Wed, 1 Nov 2023 00:52:36 +0000 (UTC) From: xiubli@redhat.com To: ceph-devel@vger.kernel.org Cc: idryomov@gmail.com, jlayton@kernel.org, vshankar@redhat.com, mchangir@redhat.com, Xiubo Li Subject: [PATCH v2 0/2] libceph: sparse-read misc fixes Date: Wed, 1 Nov 2023 08:50:31 +0800 Message-ID: <20231101005033.21995-1-xiubli@redhat.com> Precedence: bulk X-Mailing-List: ceph-devel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.6 From: Xiubo Li V2: - Remove [1/3] patch from V1. Xiubo Li (2): libceph: save and covert sr_datalen to host-endian libceph: check the data length when finishes include/linux/ceph/osd_client.h | 3 ++- net/ceph/osd_client.c | 16 +++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-)