Skip to contentSkip to conversation

Time issues with checkpoints resolved?

DISCUSSION Piotr Szymaniak 2 participants 4 messages Jan 29, 2013 – Feb 13, 2013 NILFS2 filesystem

lore
Share & tools
lore
#0 lore raw

Hi,

Sorry, but I can't find an answer and noticed some checkpoints in the past in the middle of other checkpoints (there was a thread, I think, about similar issue with timezone change).

Right now I have (Raspberry Pi doesn't have RTC):
~ lscp
(...)

7870  2013-01-27 15:12:30   cp    -           22      42174
7871  2013-01-27 15:34:23   cp    -           19      42174
7872  2013-01-27 15:42:29   cp    -           22      42174
7873  1970-01-01 01:05:05   cp    -           93      42176
7874  1970-01-01 01:10:05   cp    -           22      42174
7875  1970-01-01 01:36:36   cp    -           18      42174
(...)
8031  1970-01-03 07:08:19   cp    -           57      42183
8032  1970-01-03 07:13:20   cp    -           36      42182
8033  2013-01-29 00:01:57   cp    -           30      42182
8034  2013-01-29 00:19:34   cp    -          599      42313

I just wonder if cleaner is now smart enough to clean this mess.

Piotr Szymaniak.

Signature · 5 lines
 Szpakowate włosy przytrzymywała niebieską aksamitną opaską; oczy miała
prawie fiołkowe i szeroką,  inteligentną  twarz  kogoś,  kto nie będzie
cierpliwie  znosił  głupców,  ale też potrafi śmiać się z samego siebie
szybciej, niż ktokolwiek inny zdoła.
  -- Graham Masterton, "Zaklęci"
#1 lore raw

Hi Piotr,

Quoted 21 lines · Piotr Szymaniak

Hi,

Sorry, but I can't find an answer and noticed some checkpoints in the past in the middle of other checkpoints (there was a thread, I think, about similar issue with timezone change).

Right now I have (Raspberry Pi doesn't have RTC):
~ lscp
(...)

7870  2013-01-27 15:12:30   cp    -           22      42174
7871  2013-01-27 15:34:23   cp    -           19      42174
7872  2013-01-27 15:42:29   cp    -           22      42174
7873  1970-01-01 01:05:05   cp    -           93      42176
7874  1970-01-01 01:10:05   cp    -           22      42174
7875  1970-01-01 01:36:36   cp    -           18      42174
(...)
8031  1970-01-03 07:08:19   cp    -           57      42183
8032  1970-01-03 07:13:20   cp    -           36      42182
8033  2013-01-29 00:01:57   cp    -           30      42182
8034  2013-01-29 00:19:34   cp    -          599      42313
Quoted 2 lines

I just wonder if cleaner is now smart enough to clean this mess.

Unfortunately, it is not. Such fix doesn't made yet. I think that it needs to modify nilfs-clean utility. But, currently, I am deeply inside fixing of issues with flush kernel thread and bad btree node. These issues are slightly complex. I tried several solutions but I haven't the proper yet. Maybe, a final solution will be a combination of several fixes that I tried.

But fixing of issue with timezone change in my TODO list.

With the best regards,
Vyacheslav Dubeyko.

Quoted 2 lines

Piotr Szymaniak.

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

#2 lore raw
Quoted 27 lines · Vyacheslav Dubeyko

Hi Piotr,

Quoted 21 lines · Piotr Szymaniak

Hi,

Sorry, but I can't find an answer and noticed some checkpoints in the past in the middle of other checkpoints (there was a thread, I think, about similar issue with timezone change).

Right now I have (Raspberry Pi doesn't have RTC):
~ lscp
(...)

7870  2013-01-27 15:12:30   cp    -           22      42174
7871  2013-01-27 15:34:23   cp    -           19      42174
7872  2013-01-27 15:42:29   cp    -           22      42174
7873  1970-01-01 01:05:05   cp    -           93      42176
7874  1970-01-01 01:10:05   cp    -           22      42174
7875  1970-01-01 01:36:36   cp    -           18      42174
(...)
8031  1970-01-03 07:08:19   cp    -           57      42183
8032  1970-01-03 07:13:20   cp    -           36      42182
8033  2013-01-29 00:01:57   cp    -           30      42182
8034  2013-01-29 00:19:34   cp    -          599      42313
Quoted 2 lines

I just wonder if cleaner is now smart enough to clean this mess.

Quoted 8 lines

Unfortunately, it is not. Such fix doesn't made yet. I think that it needs to modify nilfs-clean utility. But, currently, I am deeply inside fixing of issues with flush kernel thread and bad btree node. These issues are slightly complex. I tried several solutions but I haven't the proper yet. Maybe, a final solution will be a combination of several fixes that I tried.

But fixing of issue with timezone change in my TODO list.

Ok, can you (or someone else) refresh my memory what will hit me when cp 7872 will be cleaned? cleanerd will stop cleaning?

Piotr Szymaniak.

Signature · 4 lines
W   tamtych   latach   wiejskie   rodziny   chodziły  do  lóżka  bardzo
wcześnie - "kiedy  robiło  się  ciemno  pod  stołem",  jak mawiała moja
własna matka - i spały kamiennym snem.
  -- Stephen King, "The Green Mile"
#3 lore raw
Quoted 35 lines · Piotr Szymaniak
Quoted 34 lines · Vyacheslav Dubeyko

Hi Piotr,

Quoted 21 lines · Piotr Szymaniak

Hi,

Sorry, but I can't find an answer and noticed some checkpoints in the past in the middle of other checkpoints (there was a thread, I think, about similar issue with timezone change).

Right now I have (Raspberry Pi doesn't have RTC):
~ lscp
(...)

7870  2013-01-27 15:12:30   cp    -           22      42174
7871  2013-01-27 15:34:23   cp    -           19      42174
7872  2013-01-27 15:42:29   cp    -           22      42174
7873  1970-01-01 01:05:05   cp    -           93      42176
7874  1970-01-01 01:10:05   cp    -           22      42174
7875  1970-01-01 01:36:36   cp    -           18      42174
(...)
8031  1970-01-03 07:08:19   cp    -           57      42183
8032  1970-01-03 07:13:20   cp    -           36      42182
8033  2013-01-29 00:01:57   cp    -           30      42182
8034  2013-01-29 00:19:34   cp    -          599      42313
Quoted 2 lines

I just wonder if cleaner is now smart enough to clean this mess.

Unfortunately, it is not. Such fix doesn't made yet. I think that it needs to modify nilfs-clean utility. But, currently, I am deeply inside fixing of issues with flush kernel thread and bad btree node. These issues are slightly complex. I tried several solutions but I haven't the proper yet. Maybe, a final solution will be a combination of several fixes that I tried.

Quoted 5 lines
Quoted 1 line

But fixing of issue with timezone change in my TODO list.

Ok, can you (or someone else) refresh my memory what will hit me when cp 7872 will be cleaned? cleanerd will stop cleaning?

Segments for processing by GC are selected on the basis of importance that defines by selection policy method. Currently, we have one method that works on the basis of condition: sui_lastmod < ss_nongc_ctime. The sui_lastmod is timestamp of the last modification. The ss_nongc_ctime is creation time of the last segment not for GC.

With the best regards,
Vyacheslav Dubeyko.

Quoted 2 lines

Piotr Szymaniak.

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