Difference between revisions of "Deprecation"

From CRIU
Jump to navigation Jump to search
Line 2: Line 2:
  
 
== Current plan ==
 
== Current plan ==
; Per-pid fdinfo.img file
 
: The new layout (marked with respective bit in inventory) is per-fdtable-id
 
 
; Per-pid file locks
 
: Now all locks sit in the file-locks.img file
 
 
 
; Per-pid rlimits, itimers and posix_timers image file
 
; Per-pid rlimits, itimers and posix_timers image file
 
: Now all this stuff sit in the core entry
 
: Now all this stuff sit in the core entry
Line 16: Line 10:
 
; Per-PID logs
 
; Per-PID logs
 
: Not sure whether anybody is using it
 
: Not sure whether anybody is using it
 
; Old page-read
 
: Used at ancient times when no pagemaps existed. Can be dropped.
 
  
 
; No file records for ttys
 
; No file records for ttys
Line 32: Line 23:
 
; The <code>--namespaces</code> option
 
; The <code>--namespaces</code> option
 
: It was used when we didn't have /proc/pid/ns stuff, now it's useless, removed in [[Download/criu/2.2|2.2]]
 
: It was used when we didn't have /proc/pid/ns stuff, now it's useless, removed in [[Download/criu/2.2|2.2]]
 +
 +
; Per-pid fdinfo.img file
 +
: The new layout (marked with respective bit in inventory) is per-fdtable-id, removed in [[Download/criu/2.4|2.4]]
 +
 +
; Per-pid file locks
 +
: Now all locks sit in the file-locks.img file, removed in [[Download/criu/2.4|2.4]]
 +
 +
; Old page-read
 +
: Used at ancient times when no pagemaps existed, removed in [[Download/criu/2.4|2.4]]
  
 
== See also ==
 
== See also ==

Revision as of 18:53, 9 July 2016

This page collects stuff that is considered to be deprecated (and is about to be removed)

Current plan

Per-pid rlimits, itimers and posix_timers image file
Now all this stuff sit in the core entry
The criu exec action
Should be deprecated with Compel
Per-PID logs
Not sure whether anybody is using it
No file records for ttys
See collect_one_tty(). Older versions of criu didn't have reg_file_entry for ttys.

Already deprecated stuff

The criu show action
Deprecated in with CRIT in 2.0
No ids.img files
We've been writing these files since at least v0.4, deprecated since 2.1
The --namespaces option
It was used when we didn't have /proc/pid/ns stuff, now it's useless, removed in 2.2
Per-pid fdinfo.img file
The new layout (marked with respective bit in inventory) is per-fdtable-id, removed in 2.4
Per-pid file locks
Now all locks sit in the file-locks.img file, removed in 2.4
Old page-read
Used at ancient times when no pagemaps existed, removed in 2.4

See also

What's bad with V1 images