cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] [PATCH v2 0/2] gfs2_write_calc_reserv rewrite
@ 2018-07-16 20:45 Andreas Gruenbacher
  2018-07-16 20:45 ` [Cluster-devel] [PATCH v2 1/2] gfs2: Pass write offset to gfs2_write_calc_reserv Andreas Gruenbacher
  2018-07-16 20:45 ` [Cluster-devel] [PATCH v2 2/2] gfs2: Rewrite gfs2_write_calc_reserv Andreas Gruenbacher
  0 siblings, 2 replies; 3+ messages in thread
From: Andreas Gruenbacher @ 2018-07-16 20:45 UTC (permalink / raw)
  To: cluster-devel.redhat.com

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-07-16 20:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-16 20:45 [Cluster-devel] [PATCH v2 0/2] gfs2_write_calc_reserv rewrite Andreas Gruenbacher
2018-07-16 20:45 ` [Cluster-devel] [PATCH v2 1/2] gfs2: Pass write offset to gfs2_write_calc_reserv Andreas Gruenbacher
2018-07-16 20:45 ` [Cluster-devel] [PATCH v2 2/2] gfs2: Rewrite gfs2_write_calc_reserv Andreas Gruenbacher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).