From patchwork Fri May 24 07:58:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Garzarella X-Patchwork-Id: 10959261 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 13F9014B6 for ; Fri, 24 May 2019 08:00:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 040B9287CF for ; Fri, 24 May 2019 08:00:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EBAAC287DA; Fri, 24 May 2019 08:00:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CC531287CF for ; Fri, 24 May 2019 08:00:27 +0000 (UTC) Received: from localhost ([127.0.0.1]:50687 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hU57q-0004zj-Kr for patchwork-qemu-devel@patchwork.kernel.org; Fri, 24 May 2019 04:00:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33295) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hU56S-0003s8-AL for qemu-devel@nongnu.org; Fri, 24 May 2019 03:59:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hU56R-0003TG-E9 for qemu-devel@nongnu.org; Fri, 24 May 2019 03:59:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50716) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hU56P-0003NT-B2; Fri, 24 May 2019 03:58:57 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2D0383E2AF; Fri, 24 May 2019 07:58:56 +0000 (UTC) Received: from steredhat.redhat.com (ovpn-117-118.ams2.redhat.com [10.36.117.118]) by smtp.corp.redhat.com (Postfix) with ESMTP id D50B81001DC0; Fri, 24 May 2019 07:58:49 +0000 (UTC) From: Stefano Garzarella To: qemu-devel@nongnu.org Date: Fri, 24 May 2019 09:58:45 +0200 Message-Id: <20190524075848.23781-1-sgarzare@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Fri, 24 May 2019 07:58:56 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH v2 0/3] Update documentation and help related to the preallocation parameter X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kevin Wolf , integration@gluster.org, qemu-block@nongnu.org, Markus Armbruster , Max Reitz Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Following Markus' advice, I updated the documentation of preallocation parameter in qapi/block-core.json adding default and allowed values (patch 1). I also updated the help related to BLOCK_OPT_PREALLOC in the QemuOptsList of file-posix (patch 2) and gluster (patch 3). v2: - Patch 1: removed references to "file-win32" and "file-posix" in the block comment [Markus] - Patch 3: reworded commit message [Markus] Stefano Garzarella (3): qapi/block-core: update documentation of preallocation parameter block/file-posix: update .help of BLOCK_OPT_PREALLOC option block/gluster: update .help of BLOCK_OPT_PREALLOC option qapi/block-core.json | 20 ++++++++++++++------ block/file-posix.c | 6 +++++- block/gluster.c | 9 ++++++++- 3 files changed, 27 insertions(+), 8 deletions(-)