From: Bob Peterson Date: Tue, 13 Feb 2018 15:18:21 -0500 (EST) Subject: [Cluster-devel] [PATCH] mkfs.gfs2: Scale down journal size for smaller devices In-Reply-To: <20180212200242.5682-1-anprice@redhat.com> References: <20180212200242.5682-1-anprice@redhat.com> Message-ID: <415775115.3098372.1518553101291.JavaMail.zimbra@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ----- Original Message ----- | Currently the default behaviour when the journal size is not specified | is to use a default size of 128M, which means that mkfs.gfs2 can run out | of space while writing to a small device. The hard default also means | that some xfstests fail with gfs2 as they expect it to fit on smaller | devices using the default options. | | This patch addresses these problems by picking a maximum proportion of | the fs that journals should occupy (1/4) and scaling the journal size | down (as far as the minimum size) to enforce that rule. As the minimum | journal size is 8MB that means we effectively get a hard minimum file | system size of 32MB (per journal). | | Signed-off-by: Andrew Price | --- Hi, Looks good to me. ACK. Bob Peterson Red Hat File Systems