Changes between Version 2 and Version 3 of file_system


Ignore:
Timestamp:
May 26, 2015, 9:37:44 PM (9 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • file_system

    v2 v3  
    55This 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.
    66
    7 == General Principles ==
     7== 1) General Principles ==
    88
    99This implementation supports only block devices with block_size = 512 bytes.
     
    2323with a nice error message on the kernel terminal...
    2424
    25 == Cache Structure ==
     25== 2) Cache Structure ==
    2626
    2727The fat_cache and the file_cache have the same organisation.
     
    3939|| larger than 1 Gbytes                 ||  4       ||
    4040
    41 == Cache Write Policy ==
     41== 3) Write Policy ==
    4242
    4343For 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.
     
    4747for each modified block.
    4848
    49 == Block Device Drivers ==
     49== 4) Block Device Drivers ==