block/gluster: update .help of BLOCK_OPT_PREALLOC option
commit2ea8e96da2974512f27fab03758b301dff180b6d
authorStefano Garzarella <sgarzare@redhat.com>
Fri, 24 May 2019 07:58:48 +0000 (24 09:58 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 12 Jun 2019 16:32:32 +0000 (12 18:32 +0200)
tree3f6e5ce7ab5cfdaf534c172886985caf0afb56cd
parentabea00533fa48de89f211bf2e0cff334765ed58e
block/gluster: update .help of BLOCK_OPT_PREALLOC option

Add missing 'falloc' among the allowed values of 'preallocation'
option; show it and 'full' only when they are supported.
('falloc' is supported if defined CONFIG_GLUSTERFS_FALLOCATE,
'full' is supported if defined CONFIG_GLUSTERFS_ZEROFILL)

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190524075848.23781-4-sgarzare@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
block/gluster.c