You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
MD RAID10: Export md_raid10_congested
md/raid10: Export is_congested test. In similar fashion to commits11d8a6e3711ed7242e59we export the RAID10 congestion checking function so that dm-raid.c can make use of it and make use of the personality. The 'queue' and 'gendisk' structures will not be available to the MD code when device-mapper sets up the device, so we conditionalize access to these fields also. Signed-off-by: Jonathan Brassow <jbrassow@redhat.com> Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
committed by
NeilBrown
parent
473e87ce48
commit
cc4d1efdd0
@@ -145,4 +145,7 @@ enum r10bio_state {
|
||||
*/
|
||||
R10BIO_Previous,
|
||||
};
|
||||
|
||||
extern int md_raid10_congested(struct mddev *mddev, int bits);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user