ore/exofs: Define new ore_verify_layout
authorBoaz Harrosh <bharrosh@panasas.com>
Wed, 28 Sep 2011 10:18:45 +0000 (13:18 +0300)
committerBoaz Harrosh <bharrosh@panasas.com>
Fri, 14 Oct 2011 16:54:41 +0000 (18:54 +0200)
All users of the ore will need to check if current code
supports the given layout. For example RAID5/6 is not
currently supported.

So move all the checks from exofs/super.c to a new
ore_verify_layout() to be used by ore users.

Note that any new layout should be passed through the
ore_verify_layout() because the ore engine will prepare
and verify some internal members of ore_layout, and
assumes it's called.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
fs/exofs/inode.c
fs/exofs/ore.c
fs/exofs/super.c
include/scsi/osd_ore.h

Simple merge
diff --cc fs/exofs/ore.c
Simple merge
Simple merge
Simple merge