Revert "Introduce and use sleeplocks instead of BUSY flags"
My changes have a race with re-used bufs and the code doesn't seem to get shorter Keep the changes that fixed ip->off race This reverts commit 3a5fa7ed. Conflicts: defs.h file.c file.h
Showing
- bio.c 22 additions, 23 deletionsbio.c
- buf.h 3 additions, 4 deletionsbuf.h
- defs.h 0 additions, 5 deletionsdefs.h
- file.c 1 addition, 1 deletionfile.c
- file.h 3 additions, 4 deletionsfile.h
- fs.c 16 additions, 16 deletionsfs.c
- ide.c 1 addition, 1 deletionide.c
- log.c 9 additions, 5 deletionslog.c
- pipe.c 1 addition, 1 deletionpipe.c
- spinlock.c 4 additions, 38 deletionsspinlock.c
- spinlock.h 1 addition, 6 deletionsspinlock.h
- sysfile.c 0 additions, 1 deletionsysfile.c
Loading
Please register or sign in to comment