Skip to content

xfs: xfs_tosspages() bug

[email protected] linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xfs: xfs_tosspages() bugfs/xfs/xfs_fs_subr.c fs/xfs/xfs_vnodeops.c+12 -44 replies
2/2xfstests: xfs_tosspages() test addition290 290.out group+130 -012 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchBen MyersMark TinguelyDave Chinner
1/2R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [patch 0/2] xfs: xfs_tosspages() bug

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
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs