The patch titled
Port of blktrace to the Linux Kernel Markers Fix
has been removed from the -mm tree. Its filename was
port-of-blktrace-to-the-linux-kernel-markers-fix.patch
This patch was dropped because it had testing failures
------------------------------------------------------
Subject: Port of blktrace to the Linux Kernel Markers Fix
From: Mathieu Desnoyers <[EMAIL PROTECTED]>
Adapt the blktrace port to the new markers API.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
block/blktrace.c | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diff -puN block/blktrace.c~port-of-blktrace-to-the-linux-kernel-markers-fix
block/blktrace.c
--- a/block/blktrace.c~port-of-blktrace-to-the-linux-kernel-markers-fix
+++ a/block/blktrace.c
@@ -806,23 +806,31 @@ int blk_probe_arm(void)
int i;
for (i = 0; i < ARRAY_SIZE(probe_array); i++) {
- result = marker_arm_probe(probe_array[i].name,
+ result = marker_probe_register(probe_array[i].name,
probe_array[i].format,
- probe_array[i].callback, &probe_array[i]);
+ probe_array[i].callback, &probe_array[i], 0);
if (result)
printk(KERN_INFO
"blktrace unable to register probe %s\n",
probe_array[i].name);
+ result = marker_arm(probe_array[i].name);
+ if (result)
+ printk(KERN_INFO
+ "blktrace unable to arm probe %s\n",
+ probe_array[i].name);
}
return 0;
}
void blk_probe_disarm(void)
{
- int i;
+ int i, err;
for (i = 0; i < ARRAY_SIZE(probe_array); i++) {
- marker_disarm_probe(probe_array[i].name);
+ err = marker_disarm(probe_array[i].name);
+ BUG_ON(err);
+ err = IS_ERR(marker_probe_unregister(probe_array[i].name));
+ BUG_ON(err);
}
}
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
powerpc-promc-remove-undef-printk.patch
use-data_data-in-cris.patch
add-missing-data_data-in-powerpc.patch
use-data_data-in-xtensa.patch
port-of-blktrace-to-the-linux-kernel-markers-fix.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html