]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf638ab578787248f7b1dc860b4d5a204617edf93
tree4ed43b3a2f9fade227e098771a5bed66f6a71dc4
parentfac999e3c1a9b44d03971e3d26477e358f1ae664
ore/exofs: Define new ore_verify_layout

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