Commit 0a05ee4
committed
Disable inplace update link change entry
There is a crash consistency issue with link after rename.
nova_rename() will append a link change entry to the log. nova_link()
after that, will modify the existing link change entry instead of
appending a new one, because there is no snapshot taken. So, a crash
after nova_append_link_change_entry() will update the link change entry's
links to 2.
Currently disable inplace update link change entry as a workaround.1 parent 8af84bb commit 0a05ee4
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
707 | 707 | | |
708 | 708 | | |
709 | 709 | | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
710 | 718 | | |
711 | 719 | | |
712 | 720 | | |
| |||
717 | 725 | | |
718 | 726 | | |
719 | 727 | | |
720 | | - | |
| 728 | + | |
721 | 729 | | |
722 | 730 | | |
723 | 731 | | |
| |||
0 commit comments