Commit 18e9284
Kent Overstreet
bcachefs: Make btree_deadlock_to_text() clearer
btree_deadlock_to_text() searches the list of btree transactions to find
a deadlock - when it finds one it's done; it's not like other *_read()
functions that's printing each object.
Factor out btree_deadlock_to_text() to make this clearer.
Signed-off-by: Kent Overstreet <[email protected]>1 parent f44cc26 commit 18e9284
1 file changed
+29
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
802 | 802 | | |
803 | 803 | | |
804 | 804 | | |
805 | | - | |
806 | | - | |
| 805 | + | |
| 806 | + | |
807 | 807 | | |
808 | | - | |
809 | | - | |
810 | 808 | | |
811 | | - | |
812 | | - | |
813 | | - | |
814 | | - | |
815 | | - | |
816 | | - | |
817 | | - | |
818 | | - | |
| 809 | + | |
819 | 810 | | |
820 | 811 | | |
821 | 812 | | |
822 | 813 | | |
823 | 814 | | |
824 | | - | |
| 815 | + | |
825 | 816 | | |
826 | 817 | | |
| 818 | + | |
| 819 | + | |
827 | 820 | | |
828 | | - | |
829 | 821 | | |
830 | | - | |
831 | | - | |
832 | | - | |
833 | | - | |
834 | | - | |
| 822 | + | |
835 | 823 | | |
836 | | - | |
837 | | - | |
838 | | - | |
| 824 | + | |
839 | 825 | | |
840 | 826 | | |
841 | 827 | | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
842 | 831 | | |
843 | 832 | | |
844 | 833 | | |
845 | 834 | | |
846 | | - | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
847 | 853 | | |
848 | 854 | | |
849 | 855 | | |
| |||
0 commit comments