hard drives / fjlesystems 2
1
hard drives / fjlesystems 2 1 last time direct memory access - - PowerPoint PPT Presentation
hard drives / fjlesystems 2 1 last time direct memory access write directy to device driver bufgers OS supplies physical address maybe avoid more copies if really clever? disk interface: sectors FAT fjlesystem dividing disk into clusters
1
2
3
4
5
6
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
hard drive image: Wikimedia Commons / Evan-Amos
7
8
8
8
8
8
9
10
11
12
13
14
15
16
NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip NAND fmash chip
17
18
19
being written
logical physical 93 1 260 … … 31 74 32 75 … …
pages 128–191 pages 192–255 pages 256–319
copied from erased
20
being written
logical physical 93 1 260 … … 31 74 32 75 … …
pages 128–191 pages 192–255 pages 256–319
copied from erased
20
being written
logical physical 93 1 260 … … 31 74 32 75 … …
pages 128–191 pages 192–255 pages 256–319
copied from erased
20
being written
logical physical 93 1 260 … … 31 74 32 75 163 … …
pages 128–191 pages 192–255 pages 256–319
copied from erased
20
being written
logical physical 93 1 260 187 … … 31 74 32 75 163 … …
pages 128–191 pages 192–255 pages 256–319
copied from erased
20
21
22
23
24
25
27
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
28
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
28
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
28
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
28
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
28
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
28
29
30
addrs[0] addrs[1] … addrs[11] addrs[12]
…
31
32
33
33
33
33
33
i_block[0] i_block[1] i_block[2] i_block[3] i_block[4] i_block[5] i_block[6] i_block[7] i_block[8] i_block[9] i_block[10] i_block[11] i_block[12] i_block[13] i_block[14]
34
i_block[0] i_block[1] i_block[2] i_block[3] i_block[4] i_block[5] i_block[6] i_block[7] i_block[8] i_block[9] i_block[10] i_block[11] i_block[12] i_block[13] i_block[14]
34
i_block[0] i_block[1] i_block[2] i_block[3] i_block[4] i_block[5] i_block[6] i_block[7] i_block[8] i_block[9] i_block[10] i_block[11] i_block[12] i_block[13] i_block[14]
34
i_block[0] i_block[1] i_block[2] i_block[3] i_block[4] i_block[5] i_block[6] i_block[7] i_block[8] i_block[9] i_block[10] i_block[11] i_block[12] i_block[13] i_block[14]
34
i_block[0] i_block[1] i_block[2] i_block[3] i_block[4] i_block[5] i_block[6] i_block[7] i_block[8] i_block[9] i_block[10] i_block[11] i_block[12] i_block[13] i_block[14]
34
i_block[0] i_block[1] i_block[2] i_block[3] i_block[4] i_block[5] i_block[6] i_block[7] i_block[8] i_block[9] i_block[10] i_block[11] i_block[12] i_block[13] i_block[14]
34
35
35
36
37
38
39
40
41
42
42
42
43
43
43
44
44
44
45
45
46
47
48
49
49
50
50
50
51
52
addrs[0] addrs[1] … addrs[11] addrs[12]
data for bytes 512-1024 data for bytes 6656-7168 data for bytes 7680-8192 data for bytes 8192-8704
…
(none) (none) (none) (none) (none) (none) (none) (none)
53
54
55
56
56
57
58
59