This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster gfs-kernel/src/gfs/recovery.c gnbd-ker ...
- From: bmarzins at sourceware dot org
- To: cluster-cvs at sources dot redhat dot com
- Date: 10 Nov 2006 22:17:39 -0000
- Subject: cluster gfs-kernel/src/gfs/recovery.c gnbd-ker ...
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: bmarzins@sourceware.org 2006-11-10 22:17:39
Modified files:
gfs-kernel/src/gfs: recovery.c
gnbd-kernel/src: gnbd.c
Log message:
fix for bz215095 & 215099.
for 215099, gnbd now only handles signals in sock_xmit() when it is called by
the gnbd_recvd process. Otherwise, it simply blocks the signals until it
completes the IO. This keeps gnbd from sending partial requests to the
server, which can lead to data corruption.
for 215095, the gfs function clean_journal() now uses the noinline attriubute,
gfs_find_jhead() only uses on struct gfs_log_header, and gfs_recover_journal() dynamically allocates its struct gfs_log_header, all to conserve stack space.
In the gnbd function sock_xmit(), you no longer get the signal info, so
gnbd_recvd cannot print which signal it received, but it saves over 120 bytes
of stack space.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/recovery.c.diff?cvsroot=cluster&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gnbd-kernel/src/gnbd.c.diff?cvsroot=cluster&r1=1.15&r2=1.16