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 via email to