From b2b3e53248e5d1ca73a9b873421999831292b3c4 Mon Sep 17 00:00:00 2001 From: Lucian Petrut Date: Mon, 21 Jan 2019 12:06:45 +0200 Subject: [PATCH] Document fileystem drv chunk size option A new config option has been added to the filesystem driver which allows specifying the chunk size to be used. This change mentions it in the config documentation. Depends-On: I1559c03308d36ecf9305c7a72ad658ecd1f2dc76 Change-Id: I4ddce9c3ed8f393f76a4c81879c68a3cfcf68bbf --- doc/source/configuration/configuring.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/source/configuration/configuring.rst b/doc/source/configuration/configuring.rst index 6a664b0fbc..cb2dcb2518 100644 --- a/doc/source/configuration/configuring.rst +++ b/doc/source/configuration/configuring.rst @@ -444,6 +444,17 @@ Configuring the Filesystem Storage Backend permissions, a file will still be saved, but a warning message will appear in the Glance log. +``filesystem_store_chunk_size=SIZE_IN_BYTES`` + Optional. Default: ``65536`` + + Can only be specified in configuration files. + + `This option is specific to the filesystem storage backend.` + + The chunk size used when reading or writing image files. Raising this value + may improve the throughput but it may also slightly increase the memory + usage when handling a large number of requests. + Configuring the Filesystem Storage Backend with multiple stores ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~