Commit 9268cc3523c120eed04a6ad980753d6e7b82d071

Authored by Huajun Li
Committed by Jaegeuk Kim
1 parent 24c366a9ea

f2fs: update f2fs document to reflect SIT/NAT layout correctly

document to reflect the layout generated by mkfs.f2fs .

Signed-off-by: Huajun Li <huajun.li.lee@gmail.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>

Showing 1 changed file with 9 additions and 9 deletions Side-by-side Diff

Documentation/filesystems/f2fs.txt
... ... @@ -175,9 +175,9 @@
175 175 align with the zone size <-|
176 176 |-> align with the segment size
177 177 _________________________________________________________________________
178   - | | | Node | Segment | Segment | |
179   - | Superblock | Checkpoint | Address | Info. | Summary | Main |
180   - | (SB) | (CP) | Table (NAT) | Table (SIT) | Area (SSA) | |
  178 + | | | Segment | Node | Segment | |
  179 + | Superblock | Checkpoint | Info. | Address | Summary | Main |
  180 + | (SB) | (CP) | Table (SIT) | Table (NAT) | Area (SSA) | |
181 181 |____________|_____2______|______N______|______N______|______N_____|__N___|
182 182 . .
183 183 . .
184 184  
... ... @@ -200,14 +200,14 @@
200 200 : It contains file system information, bitmaps for valid NAT/SIT sets, orphan
201 201 inode lists, and summary entries of current active segments.
202 202  
203   -- Node Address Table (NAT)
204   - : It is composed of a block address table for all the node blocks stored in
205   - Main area.
206   -
207 203 - Segment Information Table (SIT)
208 204 : It contains segment information such as valid block count and bitmap for the
209 205 validity of all the blocks.
210 206  
  207 +- Node Address Table (NAT)
  208 + : It is composed of a block address table for all the node blocks stored in
  209 + Main area.
  210 +
211 211 - Segment Summary Area (SSA)
212 212 : It contains summary entries which contains the owner information of all the
213 213 data and node blocks stored in Main area.
214 214  
... ... @@ -236,13 +236,13 @@
236 236 valid, as shown as below.
237 237  
238 238 +--------+----------+---------+
239   - | CP | NAT | SIT |
  239 + | CP | SIT | NAT |
240 240 +--------+----------+---------+
241 241 . . . .
242 242 . . . .
243 243 . . . .
244 244 +-------+-------+--------+--------+--------+--------+
245   - | CP #0 | CP #1 | NAT #0 | NAT #1 | SIT #0 | SIT #1 |
  245 + | CP #0 | CP #1 | SIT #0 | SIT #1 | NAT #0 | NAT #1 |
246 246 +-------+-------+--------+--------+--------+--------+
247 247 | ^ ^
248 248 | | |