diff --git "a/module11/Disk Manager 4\354\243\274\354\260\250 \353\266\204\354\204\235 QnA.pdf" "b/module11/Disk Manager 4\354\243\274\354\260\250 \353\266\204\354\204\235 QnA.pdf" new file mode 100644 index 0000000..d55b6cb Binary files /dev/null and "b/module11/Disk Manager 4\354\243\274\354\260\250 \353\266\204\354\204\235 QnA.pdf" differ diff --git a/module11/README.md b/module11/README.md index 7ea21f8..ebbe7ed 100644 --- a/module11/README.md +++ b/module11/README.md @@ -1,6 +1,7 @@ # 11. Disk Manager (4th Week) ## 1) Major Functions +### 1. Structures ```c disk_reserve_from_cache │ @@ -31,6 +32,31 @@ disk_reserve_from_cache
+### 2. Diagram +(1) `disk_reserve_from_cache` calls + +
+ 1 +
+ +
+ +(2) `disk_reserve_from_cache_vols` calls + +
+ 2 +
+ +
+ +(3) `disk_reserve_from_cache_volume` calls + +
+ 3 +
+ +
+ ## 2) disk_cache_lock_reserve_for_purpose & disk_cache_lock_reserve ### 1. Purpose 캐쉬로부터 섹터 예약을 진행하는 과정에서 볼륨의 목적에 맞는 LOCK을 취득하기 위한 함수 diff --git a/module11/images/1.png b/module11/images/1.png new file mode 100644 index 0000000..5e4248e Binary files /dev/null and b/module11/images/1.png differ diff --git a/module11/images/2.png b/module11/images/2.png new file mode 100644 index 0000000..382bba1 Binary files /dev/null and b/module11/images/2.png differ diff --git a/module11/images/3.png b/module11/images/3.png new file mode 100644 index 0000000..3846584 Binary files /dev/null and b/module11/images/3.png differ