cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Andreas Gruenbacher <agruenba@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH v2 0/2] gfs2_write_calc_reserv rewrite
Date: Mon, 16 Jul 2018 22:45:03 +0200	[thread overview]
Message-ID: <20180716204505.6712-1-agruenba@redhat.com> (raw)

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



             reply	other threads:[~2018-07-16 20:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-16 20:45 Andreas Gruenbacher [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180716204505.6712-1-agruenba@redhat.com \
    --to=agruenba@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).