public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 0/2] xfs: xfs_tosspages() bug
@ 2012-11-08 22:23 adahl
  2012-11-08 22:23 ` [patch 1/2] " Andrew Dahl
  2012-11-08 22:23 ` [patch 2/2] xfstests: xfs_tosspages() test addition Andrew Dahl
  0 siblings, 2 replies; 19+ messages in thread
From: adahl @ 2012-11-08 22:23 UTC (permalink / raw)
  To: xfs

Hi everyone,

This patch set fixes a bug in xfs with the xfs_tosspages() function and adds a tosspages test to xfstests.

xfs_tosspages() tries to avoid tossing a partial tail page, but it gets the calculation wrong.  As a result, if we pass in an interval [0, PAGE-SIZE-1] we end up tossing all pages.  This patch set resolves this issue.

Thanks,

Andrew 



_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

end of thread, other threads:[~2012-11-20 15:29 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-08 22:23 [patch 0/2] xfs: xfs_tosspages() bug adahl
2012-11-08 22:23 ` [patch 1/2] " Andrew Dahl
2012-11-08 23:06   ` Dave Chinner
2012-11-08 23:46     ` Ben Myers
2012-11-09  1:05       ` Dave Chinner
2012-11-09 17:32         ` Ben Myers
2012-11-08 22:23 ` [patch 2/2] xfstests: xfs_tosspages() test addition Andrew Dahl
2012-11-08 23:27   ` Dave Chinner
2012-11-13  1:13     ` [patch 2/2 V2] " Andrew Dahl
2012-11-14 18:00       ` Mark Tinguely
2012-11-14 18:35         ` Andrew Dahl
2012-11-14 18:57           ` [patch 2/2 V3] " Andrew Dahl
2012-11-14 20:34             ` Dave Chinner
2012-11-20 15:31             ` Mark Tinguely
2012-11-09  1:12   ` xfs_quota -x -c 'report -u /dev/sde5' shows the duplicate result yyq
2012-11-09  1:24     ` Dave Chinner
2012-11-09  3:27       ` yyq
2012-11-09  5:39         ` Dave Chinner
     [not found]           ` <509CA82F.7030103@eisoo.com>
2012-11-09  7:01             ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox