All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Btrfs: enable self-test on ppc64
@ 2016-05-27  7:00 Feifei Xu
  2016-05-27  7:00 ` [PATCH 1/5] Btrfs: test_check_exists: Fix infinite loop when searching for free space entries Feifei Xu
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Feifei Xu @ 2016-05-27  7:00 UTC (permalink / raw)
  To: linux-btrfs
  Cc: steve.capper, chandan, jbacik, dsterba, feifeixu.sh, Feifei Xu

Hi,

Btrfs self-test module assumed that both sectorsize and PAGE_SIZE are 4K.
Thus many self-tests fail on non-4K page size systems, like ppc64. This
patchset enables self-tests to be executed on non-4k page size systems.

This patchset enables us to easily add support for possible sectorsizes and
nodesizes (e.g. for future subpage-blocksize support).

This patchset also fixes the following bugs:
 1) Fix integer overflow when calculating bytes_per_bitmap
 2) Fix infinite loop when searching for free space
 3) Fix extent buffer bitmap test fail on big-endian system

Feifei Xu (5):
  Btrfs: test_check_exists: Fix infinite loop when searching for free
    space entries
  Btrfs: Fix integer overflow when calculating bytes_per_bitmap
  Btrfs: self-tests: Support non-4k page size
  Btrfs: test_bitmaps: Fix failure on 64k sectorsize
  Btrfs: self-test: fix extent buffer bitmap test fail on BE system

 fs/btrfs/ctree.c                       |   6 +-
 fs/btrfs/disk-io.c                     |   9 +-
 fs/btrfs/disk-io.h                     |   3 +-
 fs/btrfs/extent_io.c                   |  10 +-
 fs/btrfs/extent_io.h                   |   4 +-
 fs/btrfs/free-space-cache.c            |  17 +-
 fs/btrfs/super.c                       |  62 ++++--
 fs/btrfs/tests/btrfs-tests.c           |   6 +-
 fs/btrfs/tests/btrfs-tests.h           |  27 +--
 fs/btrfs/tests/extent-buffer-tests.c   |  13 +-
 fs/btrfs/tests/extent-io-tests.c       |  97 +++++----
 fs/btrfs/tests/free-space-tests.c      |  75 ++++---
 fs/btrfs/tests/free-space-tree-tests.c |  30 +--
 fs/btrfs/tests/inode-tests.c           | 379 ++++++++++++++++++---------------
 fs/btrfs/tests/qgroup-tests.c          | 111 ++++++----
 15 files changed, 489 insertions(+), 360 deletions(-)

-- 
2.7.4


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

end of thread, other threads:[~2016-05-30 16:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-27  7:00 [PATCH 0/5] Btrfs: enable self-test on ppc64 Feifei Xu
2016-05-27  7:00 ` [PATCH 1/5] Btrfs: test_check_exists: Fix infinite loop when searching for free space entries Feifei Xu
2016-05-27  7:00 ` [PATCH 2/5] Btrfs: Fix integer overflow when calculating bytes_per_bitmap Feifei Xu
2016-05-27  7:00 ` [PATCH 3/5] Btrfs: self-tests: Support non-4k page size Feifei Xu
2016-05-27 19:29   ` David Sterba
2016-05-29  5:17     ` Fei Fei Xu
2016-05-30 13:55       ` David Sterba
2016-05-30 16:16         ` Feifei Xu
2016-05-27  7:00 ` [PATCH 4/5] Btrfs: test_bitmaps: Fix failure on 64k sectorsize Feifei Xu
2016-05-27  7:00 ` [PATCH 5/5] Btrfs: self-test: fix extent buffer bitmap test fail on BE system Feifei Xu
2016-05-27 18:55   ` David Sterba

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.