From: Andreas Gruenbacher Date: Mon, 16 Jul 2018 22:45:03 +0200 Subject: [Cluster-devel] [PATCH v2 0/2] gfs2_write_calc_reserv rewrite Message-ID: <20180716204505.6712-1-agruenba@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Here's an update on the two patches posted last Friday. Changes since version 1: * Nate has reported a bug in the new gfs2_write_calc_reserv that causes it to consume a lot of time. It turns out that the function was unnecessarily trying to compute the nuber of indirect blocks for stuffed files, underflowing a counter. * Abhi has pointed out that the quota changes were not quite right. Andreas Gruenbacher (2): gfs2: Pass write offset to gfs2_write_calc_reserv gfs2: Rewrite gfs2_write_calc_reserv fs/gfs2/bmap.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++-- fs/gfs2/bmap.h | 32 ++++----------------- fs/gfs2/file.c | 34 +++++++++++++++++++---- fs/gfs2/quota.c | 37 +++++++++++++------------ 4 files changed, 125 insertions(+), 52 deletions(-) -- 2.17.1