X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Flinux%2Fraid%2Fmd.h;h=13e7c4b62367f6e75d536e1eb124265694db50db;hb=cf1d469ec10015f8ced338c00e7944941f816e89;hp=ffa316ce4dc834aa3ab4a4e8967e95a47c0b5c49;hpb=c0d6f9663b30a09ed725229b2d50391268c8538e;p=powerpc.git diff --git a/include/linux/raid/md.h b/include/linux/raid/md.h index ffa316ce4d..13e7c4b623 100644 --- a/include/linux/raid/md.h +++ b/include/linux/raid/md.h @@ -66,8 +66,10 @@ * and major_version/minor_version accordingly * >=2 means that Internal bitmaps are supported by setting MD_SB_BITMAP_PRESENT * in the super status byte + * >=3 means that bitmap superblock version 4 is supported, which uses + * little-ending representation rather than host-endian */ -#define MD_PATCHLEVEL_VERSION 2 +#define MD_PATCHLEVEL_VERSION 3 extern int register_md_personality (int p_num, mdk_personality_t *p); extern int unregister_md_personality (int p_num); @@ -87,6 +89,7 @@ extern void md_print_devices (void); extern void md_super_write(mddev_t *mddev, mdk_rdev_t *rdev, sector_t sector, int size, struct page *page); +extern void md_super_wait(mddev_t *mddev); extern int sync_page_io(struct block_device *bdev, sector_t sector, int size, struct page *page, int rw);