md.h (f83d9396d1f63048c423efa00e4e244da10a35fd) | md.h (4ce4c73f662bdb0ae5bfb058bc7ec6f6829ca078) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 md.h : kernel internal structure of the Linux MD driver 4 Copyright (C) 1996-98 Ingo Molnar, Gadi Oxman 5 6*/ 7 8#ifndef _MD_MD_H --- 724 unchanged lines hidden (view full) --- 733void acct_bioset_exit(struct mddev *mddev); 734void md_account_bio(struct mddev *mddev, struct bio **bio); 735 736extern bool __must_check md_flush_request(struct mddev *mddev, struct bio *bio); 737extern void md_super_write(struct mddev *mddev, struct md_rdev *rdev, 738 sector_t sector, int size, struct page *page); 739extern int md_super_wait(struct mddev *mddev); 740extern int sync_page_io(struct md_rdev *rdev, sector_t sector, int size, | 1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 md.h : kernel internal structure of the Linux MD driver 4 Copyright (C) 1996-98 Ingo Molnar, Gadi Oxman 5 6*/ 7 8#ifndef _MD_MD_H --- 724 unchanged lines hidden (view full) --- 733void acct_bioset_exit(struct mddev *mddev); 734void md_account_bio(struct mddev *mddev, struct bio **bio); 735 736extern bool __must_check md_flush_request(struct mddev *mddev, struct bio *bio); 737extern void md_super_write(struct mddev *mddev, struct md_rdev *rdev, 738 sector_t sector, int size, struct page *page); 739extern int md_super_wait(struct mddev *mddev); 740extern int sync_page_io(struct md_rdev *rdev, sector_t sector, int size, |
741 struct page *page, int op, int op_flags, 742 bool metadata_op); | 741 struct page *page, blk_opf_t opf, bool metadata_op); |
743extern void md_do_sync(struct md_thread *thread); 744extern void md_new_event(void); 745extern void md_allow_write(struct mddev *mddev); 746extern void md_wait_for_blocked_rdev(struct md_rdev *rdev, struct mddev *mddev); 747extern void md_set_array_sectors(struct mddev *mddev, sector_t array_sectors); 748extern int md_check_no_bitmap(struct mddev *mddev); 749extern int md_integrity_register(struct mddev *mddev); 750extern int md_integrity_add_rdev(struct md_rdev *rdev, struct mddev *mddev); --- 76 unchanged lines hidden --- | 742extern void md_do_sync(struct md_thread *thread); 743extern void md_new_event(void); 744extern void md_allow_write(struct mddev *mddev); 745extern void md_wait_for_blocked_rdev(struct md_rdev *rdev, struct mddev *mddev); 746extern void md_set_array_sectors(struct mddev *mddev, sector_t array_sectors); 747extern int md_check_no_bitmap(struct mddev *mddev); 748extern int md_integrity_register(struct mddev *mddev); 749extern int md_integrity_add_rdev(struct md_rdev *rdev, struct mddev *mddev); --- 76 unchanged lines hidden --- |