Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Download/kernel/rhel5/028stab023.1/changes

11,595 bytes added, 02:33, 21 March 2008
created
== Changes ==
* QLA4x, 3Ware drivers update
* Added areca driver support.
* CPT utrace and inotify support + minor fixes.
* Lockdep fixed in debug kernels.
* Ext3 error path
* Enhanced bridges over original device
* ioprio fixes

=== Config changes ===
Added:
* +<code>CONFIG_SCSI_QLA4XXX=m</code>
* +<code>CONFIG_SCSI_QLA4XXX_FAILOVER=y</code>
* +<code>CONFIG_HP100=m</code>
* +<code>CONFIG_EEPRO100=m</code>
Removed:
* -<code>CONFIG_SCSI_QLA_ISCSI=m</code>
<includeonly>[[{{PAGENAME}}/changes#Patches|{{Long changelog message}}]]</includeonly><noinclude>
=== Patches ===

==== linux-2.6.18-3w_9xxx-2.26.06.001-2.6.18.patch ====
<div class="change">
patch prepared by Roman (rchechnev@):<br/>
3w_9xxx driver updated to version "2.26.06.001-2.6.18"

sources were taken from: [http://www.3ware.com/KB/article.aspx?id=15001 http://www.3ware.com/KB/article.aspx?id=15001].
</div>

==== linux-2.6.18-qla4xxx-5.00.07.patch ====
<div class="change">
patch prepared by Roman (rchechnev@):<br/>
qla4xxx driver updated to version "5.00.07"

sources were taken from: [http://support.qlogic.com/support/os_detail.asp?productid=963&amp;osid=26 http://support.qlogic.com/support/os_detail.asp?productid=963&amp;osid=26].
</div>

==== linux-2.6.18-drbd-0.7.22-0.8.0.patch ====
<div class="change">
Patch from Evgeny:<br/>
Update for drbd module from 0.7.22 to 8.0.

Module was taken from www.drbd.org, updated and tested.
Changes made:
# connector.c and cn_queue.c changes by drbd-8.0 eliminated.
# compilation errors fixed.
</div>

==== diff-cpt-ia64-check-cpu-caps-20070319 ====
<div class="change">
Patch from Andrey Mirkin &lt;major@openvz.org&gt;:<br/>
[CPT] [IA64] Fix checking of CPU capabilities on IA64

Bug #77601.
</div>

==== diff-cpt-ia64-nat-debug ====
<div class="change">
Patch from Alexey Kuznetsov &lt;alexey@openvz.org&gt;:<br/>
[CPT][IA64] add debugging NAT bits, remove debugging RSE
</div>

==== diff-cpt-img-align-netroute-20070316 ====
<div class="change">
Patch from Andrey Mirkin &lt;major@openvz.org&gt;:<br/>
[CPT] Align netroute section in cpt dump

Net route section in image file was not aligned correctly,
leading to CPT dump file being corrupted and unreadable on restore.

</div>

==== diff-cpt-inotify-20070320 ====
<div class="change">
Patch from Alexey Kuznetsov &lt;alexey@openvz.org&gt;:<br/>
[CPT] checkpointing inotify interface
</div>

==== diff-cpt-inotify-core-20070320 ====

<div class="change">
Patch from Alexey Kuznetsov &lt;alexey@openvz.org&gt;:<br/>
[VZ] core changes to allow checkpointing inotify interface

# Cosmetic changes to export nessecary structs and variables (time to start to think about moving those cpt bits to core to avoid pollution. cpt interface could be ugly, but it is _one_ interface)
# There is one essential change: each watchpoint refers to dentry/mnt. The drawback: it means fs umount is blocked while some directory on it is watched. With current uses of inotify it is not a problem.
</div>

==== diff-cpt-utrace ====
<div class="change">
Patch from Alexey Kuznetsov &lt;alexey@sw.ru&gt;:<br/>
[CPT] checkpointing utrace

Of course, it checkpoints only ptrace. If some another module
using utrace is loaded, checkpointing is still prohibited.

It is compatible with old ptrace: migration from older kernels
is supported.
</div>

==== diff-cpt-utrace-core ====
<div class="change">
Patch from Alexey Kuznetsov &lt;alexey@sw.ru&gt;:<br/>
[CPT] changes to core required to checkpoint utrace

# Export of symbols, publishing some internal structs.
# Marking utrace quiescent states with pn_state.
</div>

==== diff-cpt-vsyscall-image-20070320 ====
<div class="change">
Patch from Andrey Mirkin &lt;major@openvz.org&gt;:<br/>
[CPT] Reserve vsyscall section and object ID

Support in CPT for vsyscall is not implemented in 2.6.18 kernel yet.
This patch is needed to synchronize section and object IDs
in 2.6.9 and 2.6.18 kernel to not break 2.6.9 -&gt; 2.6.18 migration.
</div>

==== diff-fairsched-lockdep-20070320 ====
<div class="change">
Patch from Pavel Emelianov &lt;xemul@openvz.org&gt;:<br/>
[LOCKDEP] Fix lockdep for virtualized runqueues

lockdep is debugging technology that tracks the
sequence of spin_lock()-s in kernel. Each lock has
a "class" assigned. Rules:
# class must be a static object as it is registered within lockdep internals
# two locks of the same class must be taken with _nested suffix to explicitly tell lockdep that this is not a deadlock

Problem is that runqueues and filesystem types are
no longer static in OpenVZ kernel.

Runqueues problem is solved that way:
all rq-s have common class set, double locking is
equipped with _nested suffix

Bug #73857.
</div>

==== diff-ms-ext3-dirindex-errh-20070306 ====
<div class="change">
Patch from Monakhov Dmitriy &lt;dmonakhov@openvz.org&gt;:<br/>
[EXT3] dirindex error handling issues

* ext3_dx_find_entry() exit with out setting proper error pointer
* do_split() exit with out setting proper error pointer it is realy painful because many callers contain folowing code:
<source lang="c">
de = do_split(handle,dir, &amp;bh, frame, &amp;hinfo, &amp;retval);
if (!(de))
return retval;
<<< WOW retval wasn't changed by do_split(), so caller failed
<<< but return SUCCESS :)
</source>
* Rearrange do_split() error path. Current error path is realy ugly, all this up and down jump stuff doesn't make code easy to understand.

Signed-off-by: Monakhov Dmitriy &lt;dmonakhov@openvz.org&gt;<br/>
Cc: Andreas Dilger &lt;adilger@clusterfs.com&gt;<br/>
Cc: Theodore Ts'o &lt;tytso@mit.edu&gt;<br/>

Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
</div>

==== diff-ms-ext3-dirindex-errh-b-20070319 ====
<div class="change">
Patch from Monakhov Dmitriy &lt;dmonakhov@openvz.org&gt;:<br/>
[EXT3] dirindex error handling issues (fix)

my previous patch changed error message semantics in do_split().
Initially when ext3_append() failed we just exit without printing error.
In fact ext3_append() may fail, it is legal and it's happens
qite often (ENOSPC for example).
This cause annoying fake error message.
So restore this semantic as it was before patch.

Signed-off-by: Monakhov Dmitriy &lt;dmonakhov@openvz.org&gt;<br/>
Cc: Andreas Dilger &lt;adilger@clusterfs.com&gt;<br/>
Cc: Theodore Ts'o &lt;tytso@mit.edu&gt;<br/>

Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
</div>

==== diff-ms-ext3-dirindex-errh-c-20070319 ====
<div class="change">
Patch from Monakhov Dmitriy &lt;dmonakhov@openvz.org&gt;:<br/>
[EXT3] dirindex error handling issues (additional)

I've found one more place where we exit with wrong error code.
(Andreas Dilger agreed that it should be fixed),
but not send it to lkml yet.

Signed-Off-By: Monakhov Dmitriy &lt;dmonakhov@openvz.org&gt;
</div>

==== diff-ms-ia64-unwind-bug ====
<div class="change">
Patch from Alexey Kuznetsov &lt;alexey@openvz.org&gt;:<br/>
[IA64] unwind did not work for processes born with CLONE_STOPPED

Minor problem for mainstream. Big problem for CPT, because all the
stopped/traced processes are born in this state, hence they cannot
be checkpointed again due to failing unwind.

The problem was identified as assumption in kernel unwind library
that top level frame is different of syscall frame. It is the case
unless process was born with CLONE_STOPPED.
</div>

==== diff-ms-ipv6-ndisk-pkt-len-20070320 ====
<div class="change">
Patch from David S. Miller &lt;davem@davemloft.net&gt;:<br/>
[IPV6] NDISC: Calculate packet length correctly for allocation.

MAX_HEADER does not include the ipv6 header length in it,
so we need to add it in explicitly.

With help from YOSHIFUJI Hideaki.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

GIT: d54a81d341af80875c201890500f727c8188dd9b
</div>

==== diff-ms-net-bridge-via-eth-20070311 ====
<div class="change">
Patch from Dmitry Mishin &lt;dim@openvz.org&gt;:

This patch allows to modify mainline bridge behaviour in order to avoid
network re-configuration during physical device attach/detach procedure
</div>

==== diff-ms-ptrace-bug-20070319 ====
<div class="change">
Patch from Alexey Kuznetsov &lt;alexey@openvz.org&gt;:<br/>
[PATCH] Race condition in ptrace/utrace

ltp ptrace tests fail randomly, wait4() returning funny status
0x1007F.

The problem is race condition in ptrace, ptrace_do_wait
can catch process in the middle of do_exit() after it set
tsk-&gt;exit_code but before exit_notify() moved the process
to zombie_state.

The solution is to check process state, if it is not TASK_TRACED
or TASK_STOPPED. Seems, Roland believes this is incorrect, but
we can replace the fix when he prepares better one.
</div>

==== diff-rh-utrace-update-20070320 ====
<div class="change">
Patch from Alexey Dobriyan &lt;adobriyan@openvz.org&gt;:

Update of utrace engine from Roland McGrath.
Bug #75754.
</div>

==== diff-ubc-ioprio-compile-off-20070313 ====
<div class="change">
Patch from Alexandr Andreev &lt;aandreev@openvz.org&gt;:<br/>
[IOPRIO] Fix compilation when CONFIG_UBC_IO_PRIO=n

compilation fix fo block/cfq-iosched.c when CONFIG_UBC_IO_PRIO=n
</div>

==== diff-ubc-ioprio-fix-when-off-20070319 ====
<div class="change">
Patch from Alexandr Andreev &lt;aandreev@openvz.org&gt;:<br/>
[IOPRIO] Fix beancounter handling when CONFIG_UBC_IO_PRIO=n

when CONFIG_UBC_IO_PRIO=n get/put_beancoutner() is done on
unitialized pointer to beancounter.
</div>

==== diff-ubc-ioprio-locking-20070320 ====
<div class="change">
Patch from Pavel Emelianov &lt;xemul@openvz.org&gt;:<br/>
[IOPRIO] Fix potential deadlock found by lockdep

cfq_bc_list_lock should be taken with IRQs disabled
</div>

==== diff-ubc-ioprio-subbc-20070315 ====
<div class="change">
Patch from Vasily Tarasov &lt;vtaras@openvz.org&gt;:<br/>
[IOPRIO] Handle subbeancounters correctly in get_io_ub()

get_io_ub() should return top beancounters only.
Plus minor cleanup.

When SLM is on, get_io_ub() could return subbeancounter,
what was not expected by CFQ.

Bug #77314.<br/>
Bug #77341.
</div>

==== diff-ubc-kmemsize-marks-20070315 ====

<div class="change">
Patch from Kirill Korotaev &lt;dev@openvz.org&gt;:<br/>
Charge vm_area_struct and sigqueue structures to kmemsize.

was lost somehow during porting from 2.6.9.
I rechecked all SLAB_UBC marks only.
</div>

==== diff-ve-lockdep-fix-20070320 ====

<div class="change">
Patch from Pavel Emelianov &lt;xemul@openvz.org&gt;:<br/>
[LOCKDEP] Fix lockdep for virtualized fstype

lockdep is debugging technology that tracks the
sequence of spin_lock()-s in kernel. Each lock has
a "class" assigned. Rules:

# class must be a static object as it is registered within lockdep internals
# two locks of the same class must be taken with _nested suffix to explicitly tell lockdep that this is not a deadlock

Problem is that runqueues and filesystem types are
no longer static in OpenVZ kernel.

File system types are resolved that way:
set common class for all super blocks. I haven't
yet found places where two locks are taken for
two super blocks

Bug #73857.
</div>

==== diff-ve-mem-latency-20070316 ====
<div class="change">
Patch from Alexandr Andreev &lt;aandreev@openvz.org&gt;:<br/>
[VESTATS] Fix memory page allocation latency stats.

This patch fixes broken (empty) statistics in /proc/vz/latency
</div>

==== diff-ve-net-ipv6-lock-20070320 ====
<div class="change">
Patch from Pavel Emelianov &lt;xemul@openvz.org&gt;:<br/>
[IPV6] Fix potential deadlock found by lockdep
</div>

==== diff-ve-net-loopstat-20070314 ====
<div class="change">
Patch from Denis Lunev &lt;den@openvz.org&gt;:<br/>
Fix leak of loopback per-cpu stats.
</div>
</noinclude>