UncheckpointableProtocols

From Linux Checkpoint / Restart Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with '== Summary == Like files sockets and protocols require certain operations fields otherwise they cause sys_checkpoint() to return an error. == Un…')
 
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== Summary ==
 
== Summary ==
  
Like [[UncheckpointableFilesystems|files]] sockets and protocols require certain operations fields otherwise they cause sys_checkpoint() to return an error.
+
Somewhat like [[UncheckpointableFilesystems|files]], sockets and protocols require certain operations fields otherwise they cause sys_checkpoint() to return an error.
 +
 
 +
The ipv6 items below are somewhat trivial to add support for.  So far, ipv4 has been the focus, but ipv6 support has been prototyped in previous postings.
  
 
== Unsupported Protocols ==
 
== Unsupported Protocols ==
  
As of 2.6.31+ckpt-v18-dev the proto_ops structs missing the .checkpoint operation can be found in (file:line+num_lines_searched):
+
As of 2.6.33-rc8 + ckpt-v19-test the proto_ops structs missing the .checkpoint operation can be found in (file:line+num_lines_searched):
  
 
<pre>
 
<pre>
./include/linux/net.h:332+20
 
 
./drivers/isdn/mISDN/socket.c:584+19
 
./drivers/isdn/mISDN/socket.c:584+19
 
./drivers/isdn/mISDN/socket.c:737+19
 
./drivers/isdn/mISDN/socket.c:737+19
./drivers/net/pppoe.c:1108+19
+
./drivers/net/pppoe.c:1114+19
./drivers/net/pppol2tp.c:2577+19
+
./drivers/net/pppol2tp.c:2581+19
./net/llc/af_llc.c:1101+20
+
./net/llc/af_llc.c:1104+20
./net/dccp/ipv6.c:1161+24
+
./net/dccp/ipv6.c:1159+24
./net/dccp/ipv4.c:958+26
+
./net/dccp/ipv4.c:963+26
./net/netrom/af_netrom.c:1381+20
+
./net/netrom/af_netrom.c:1382+20
./net/packet/af_packet.c:2326+20
+
./net/packet/af_packet.c:2324+20
./net/packet/af_packet.c:2347+20
+
./net/packet/af_packet.c:2345+20
./net/can/bcm.c:1562+19
+
./net/can/bcm.c:1554+19
./net/can/raw.c:717+19
+
./net/can/raw.c:715+19
./net/ipv4/af_inet.c:901+24
+
./net/ipv4/af_inet.c:916+24
./net/ipx/af_ipx.c:1936+23
+
./net/ipx/af_ipx.c:1977+23
./net/econet/af_econet.c:751+20
+
./net/econet/af_econet.c:752+20
./net/ieee802154/af_ieee802154.c:183+24
+
./net/ieee802154/af_ieee802154.c:181+24
./net/ieee802154/af_ieee802154.c:208+24
+
./net/ieee802154/af_ieee802154.c:206+24
./net/x25/af_x25.c:1603+23
+
./net/x25/af_x25.c:1667+23
./net/netlink/af_netlink.c:1964+20
+
./net/netlink/af_netlink.c:2038+20
./net/rds/af_rds.c:363+20
+
./net/rds/af_rds.c:365+20
 
./net/bluetooth/hidp/sock.c:215+22
 
./net/bluetooth/hidp/sock.c:215+22
 
./net/bluetooth/cmtp/sock.c:164+22
 
./net/bluetooth/cmtp/sock.c:164+22
./net/bluetooth/rfcomm/sock.c:1084+19
+
./net/bluetooth/rfcomm/sock.c:1085+19
./net/bluetooth/hci_sock.c:598+19
+
./net/bluetooth/hci_sock.c:603+19
./net/bluetooth/l2cap.c:2735+19
+
./net/bluetooth/l2cap.c:3964+19
 
./net/bluetooth/bnep/sock.c:169+22
 
./net/bluetooth/bnep/sock.c:169+22
./net/bluetooth/sco.c:957+19
+
./net/bluetooth/sco.c:977+19
./net/rose/af_rose.c:1518+20
+
./net/rose/af_rose.c:1519+20
./net/phonet/socket.c:309+24
+
./net/phonet/socket.c:362+24
./net/phonet/socket.c:334+24
+
./net/phonet/socket.c:387+24
./net/key/af_key.c:3623+23
+
./net/key/af_key.c:3625+23
 
./net/atm/pvc.c:104+24
 
./net/atm/pvc.c:104+24
 
./net/atm/svc.c:627+24
 
./net/atm/svc.c:627+24
./net/ax25/af_ax25.c:1962+20
+
./net/ax25/af_ax25.c:1970+20
./net/appletalk/ddp.c:1825+23
+
./net/appletalk/ddp.c:1880+23
./net/irda/af_irda.c:2472+23
+
./net/irda/af_irda.c:2597+23
./net/irda/af_irda.c:2496+23
+
./net/irda/af_irda.c:2621+23
./net/irda/af_irda.c:2520+23
+
./net/irda/af_irda.c:2645+23
./net/irda/af_irda.c:2545+23
+
./net/irda/af_irda.c:2670+23
./net/sctp/ipv6.c:904+23
+
./net/sctp/ipv6.c:907+23
./net/sctp/protocol.c:883+24
+
./net/sctp/protocol.c:881+24
./net/tipc/socket.c:1777+20
+
./net/tipc/socket.c:1783+20
./net/tipc/socket.c:1798+20
+
./net/tipc/socket.c:1804+20
./net/tipc/socket.c:1819+20
+
./net/tipc/socket.c:1825+20
./net/rxrpc/af_rxrpc.c:752+20
+
./net/rxrpc/af_rxrpc.c:753+20
./net/ipv6/af_inet6.c:504+25
+
./net/ipv6/af_inet6.c:506+25
./net/ipv6/af_inet6.c:530+24
+
./net/ipv6/af_inet6.c:532+24
./net/ipv6/raw.c:1312+24
+
./net/ipv6/raw.c:1308+24
./net/decnet/af_decnet.c:2334+20
+
./net/decnet/af_decnet.c:2335+20
./net/iucv/af_iucv.c:1685+19
+
./net/iucv/af_iucv.c:1698+19
 
</pre>
 
</pre>
 +
 +
Generated with the script from [[UncheckpointableFilesystems]] by running it in the toplevel kernel source directory:
 +
checkop --struct proto_ops --operation checkpoint -a

Latest revision as of 01:55, 22 February 2010

[edit] Summary

Somewhat like files, sockets and protocols require certain operations fields otherwise they cause sys_checkpoint() to return an error.

The ipv6 items below are somewhat trivial to add support for. So far, ipv4 has been the focus, but ipv6 support has been prototyped in previous postings.

[edit] Unsupported Protocols

As of 2.6.33-rc8 + ckpt-v19-test the proto_ops structs missing the .checkpoint operation can be found in (file:line+num_lines_searched):

./drivers/isdn/mISDN/socket.c:584+19
./drivers/isdn/mISDN/socket.c:737+19
./drivers/net/pppoe.c:1114+19
./drivers/net/pppol2tp.c:2581+19
./net/llc/af_llc.c:1104+20
./net/dccp/ipv6.c:1159+24
./net/dccp/ipv4.c:963+26
./net/netrom/af_netrom.c:1382+20
./net/packet/af_packet.c:2324+20
./net/packet/af_packet.c:2345+20
./net/can/bcm.c:1554+19
./net/can/raw.c:715+19
./net/ipv4/af_inet.c:916+24
./net/ipx/af_ipx.c:1977+23
./net/econet/af_econet.c:752+20
./net/ieee802154/af_ieee802154.c:181+24
./net/ieee802154/af_ieee802154.c:206+24
./net/x25/af_x25.c:1667+23
./net/netlink/af_netlink.c:2038+20
./net/rds/af_rds.c:365+20
./net/bluetooth/hidp/sock.c:215+22
./net/bluetooth/cmtp/sock.c:164+22
./net/bluetooth/rfcomm/sock.c:1085+19
./net/bluetooth/hci_sock.c:603+19
./net/bluetooth/l2cap.c:3964+19
./net/bluetooth/bnep/sock.c:169+22
./net/bluetooth/sco.c:977+19
./net/rose/af_rose.c:1519+20
./net/phonet/socket.c:362+24
./net/phonet/socket.c:387+24
./net/key/af_key.c:3625+23
./net/atm/pvc.c:104+24
./net/atm/svc.c:627+24
./net/ax25/af_ax25.c:1970+20
./net/appletalk/ddp.c:1880+23
./net/irda/af_irda.c:2597+23
./net/irda/af_irda.c:2621+23
./net/irda/af_irda.c:2645+23
./net/irda/af_irda.c:2670+23
./net/sctp/ipv6.c:907+23
./net/sctp/protocol.c:881+24
./net/tipc/socket.c:1783+20
./net/tipc/socket.c:1804+20
./net/tipc/socket.c:1825+20
./net/rxrpc/af_rxrpc.c:753+20
./net/ipv6/af_inet6.c:506+25
./net/ipv6/af_inet6.c:532+24
./net/ipv6/raw.c:1308+24
./net/decnet/af_decnet.c:2335+20
./net/iucv/af_iucv.c:1698+19

Generated with the script from UncheckpointableFilesystems by running it in the toplevel kernel source directory:

checkop --struct proto_ops --operation checkpoint -a
Personal tools