Commit 06873db
xfs: refactor zone reset handling
Include the actual bio submission in the common zone reset handler to
share more code and prepare for adding error injection for zone reset.
Note the I plan to refactor the block layer submit_bio_wait and
bio_await_chain code in the next merge window to remove some of the
code duplication added here.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Hans Holmberg <hans.holmberg@wdc.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>1 parent 32ae9b8 commit 06873db
1 file changed
Lines changed: 28 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
893 | 893 | | |
894 | 894 | | |
895 | 895 | | |
896 | | - | |
897 | | - | |
898 | | - | |
899 | | - | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
900 | 900 | | |
901 | 901 | | |
902 | 902 | | |
903 | 903 | | |
904 | 904 | | |
905 | 905 | | |
906 | | - | |
907 | | - | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
908 | 914 | | |
909 | 915 | | |
910 | 916 | | |
911 | 917 | | |
912 | 918 | | |
913 | 919 | | |
914 | | - | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
915 | 926 | | |
916 | 927 | | |
917 | 928 | | |
918 | 929 | | |
919 | 930 | | |
920 | 931 | | |
921 | | - | |
| 932 | + | |
922 | 933 | | |
| 934 | + | |
923 | 935 | | |
924 | 936 | | |
925 | | - | |
926 | | - | |
927 | | - | |
928 | | - | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
929 | 942 | | |
| 943 | + | |
| 944 | + | |
930 | 945 | | |
931 | 946 | | |
932 | 947 | | |
| |||
961 | 976 | | |
962 | 977 | | |
963 | 978 | | |
964 | | - | |
965 | | - | |
966 | | - | |
967 | | - | |
968 | | - | |
969 | | - | |
970 | | - | |
971 | | - | |
972 | | - | |
| 979 | + | |
973 | 980 | | |
974 | 981 | | |
975 | 982 | | |
| |||
0 commit comments