summaryrefslogtreecommitdiff
path: root/kernel/log.c
AgeCommit message (Collapse)AuthorFilesLines
2021-08-31fix typos in user/usertest.c & kernel/log.cFIXED-TERM Chen Ian (BT-CO/QMM5)1-1/+1
2020-11-05Be principled: acquire lock firstFrans Kaashoek1-1/+1
2020-10-05don't unpin if recovering -- the resulting negative refcnt suppresses next unpinRobert Morris1-4/+5
2019-08-18Cosmetic cleanup: fsinit reads sb and calls loginit. initialize icacheFrans Kaashoek1-5/+3
in main.c and don't make it disk specific; the icache is shared. This doesn't matter since we have only one disk, but conceptually cleaner and maybe helpful to students for mount lab.
2019-07-30Make pin/unpin explicitFrans Kaashoek1-2/+2
2019-07-29Remove B_DIRTYFrans Kaashoek1-3/+5
Use refcnt to pin blocks into the cache Replace flags/B_VALID with a boolean field valid Use info[id].status to signal completion of disk interrupt Pass a read/write flag to virtio_disk_rw
2019-06-11separate source into kernel/ user/ mkfs/Robert Morris1-0/+235