Bug with future timestamp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I'm using nilfs on ARM I have found a problem when these conditions are met:

- set protection period to 60 seconds
- set current time on the future (example: year 2020)
- write something on flash, so that some checkpoints are created
- set current time to the present
- perform writes on flash.

When the garbage collector starts, it will notice that the checkpoint "from the future" is protected and will not remove it.
The problem is that it will not remove subsequent checkpoints (but with timestamp that shouldn't be protected), and therefore there won't be any garbage collection until 2020.

The only workaround is to manually remove the "future" checkpoints with rmcp.

Is this a known issue? Thanks!



Michele Marcon

Centro Ricerche
RPS SpA
Viale Europa, 7
37045 Legnago VR
Tel. +39 0442 635939 Fax. +39 0442 635934
Skype Id:  - Voip: 
E-mail: M.Marcon@xxxxxxxxxxxxxx
Web: www.riello-ups.com
--------------------------------------------------------------------------
Per favore non stampare questo messaggio se proprio non è 
necessario 
Please consider the environment before printing this e-mail
--------------------------------------------------------------------------




--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux BTRFS]     [Linux CIFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux