]> git.karo-electronics.de Git - karo-tx-linux.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>
Tue, 4 Oct 2011 10:17:14 +0000 (12:17 +0200)
commit3c5aeddb30117a4978b25e10cffd635581137c29
treeb2f1aad4519c971d50e4c7f0563d7710a6068481
parentc0ba6d0454bfdc5ec5f9e63da7983c2c16d77258
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