From: Bob Peterson Date: Wed, 30 May 2018 08:29:33 -0400 (EDT) Subject: [Cluster-devel] [RHEL6.10 PATCH] GFS2: allow gfs2_write_calc_reserv to use minimum values for rindex In-Reply-To: <68146999.38277295.1527683031995.JavaMail.zimbra@redhat.com> References: <68146999.38277295.1527683031995.JavaMail.zimbra@redhat.com> Message-ID: <1154538960.38279040.1527683373043.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 Hi, Please ignore the last email. I sent it to the wrong list. This is a rhel6 patch, not meant for the development kernel tree. Bob Peterson ----- Original Message ----- > Hi, > > QE found problems with the previous patch for bug #1384184. > This replacement patch reverts the first patch and adds new code > that passes the QE tests. > > Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1384184 > Upstream Status: N/A (not needed upstream) > Build Info: > https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=16448851 > Tested: by Justin Payne on virt host-029 > > GFS2: allow gfs2_write_calc_reserv to use minimum values for rindex > > Before this patch function gfs2_write_calc_reserv built in several > "slop" blocks into its calculations for the number of blocks required > to do a write. This was fine for the most part, but when the file > system is down to its last blocks, and needs to be extended with > gfs2_grow, the rindex file needs to use a minimum amount of blocks. > This patch makes a special exception for the rindex file, which > now calculates a bare minimum number of blocks we need to allocate. > > Signed-off-by: Bob Peterson