Changes between Version 2 and Version 3 of file_system
- Timestamp:
- May 26, 2015, 9:37:44 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
file_system
v2 v3 5 5 This section describes GIET_VM [wiki:library_stdio system calls] and [wiki:user_libraries user libraries]. The multi-threaded applications have been designed to analyse the TSAR manycore architecture scalability. 6 6 7 == General Principles ==7 == 1) General Principles == 8 8 9 9 This implementation supports only block devices with block_size = 512 bytes. … … 23 23 with a nice error message on the kernel terminal... 24 24 25 == Cache Structure ==25 == 2) Cache Structure == 26 26 27 27 The fat_cache and the file_cache have the same organisation. … … 39 39 || larger than 1 Gbytes || 4 || 40 40 41 == CacheWrite Policy ==41 == 3) Write Policy == 42 42 43 43 For a '''file_cache''', the GIET_VM implements a WRITE-BACK policy. The data are always modified in the cache. In case of miss, new clusters are allocated to the target file, the cache is updated from the block device, and the data are modified in the cache, but not in the block device. The modified clusters are written on the block device only when the file is closed, using the dirty flag implemented in each cluster descriptor. … … 47 47 for each modified block. 48 48 49 == Block Device Drivers ==49 == 4) Block Device Drivers ==