Skip to content

md-cluster: Fine-tuning for ten function implementations

SF Markus Elfring alsa-devel ath9k-devel ceph-devel dm-devel dri-devel intel-wired-lan kernel-janitors kvm kvm-ppc linux-acpi linux-arm-kernel linux-clk linux-crypto linux-gpio linux-i2c linux-ide linux-iio linux-input linux-m68k linux-media linux-mmc linux-mtd linux-omap linux-raid linux-rdma linux-renesas-soc linux-rtc linux-s390 linux-scsi linux-wireless linuxppc-dev lkml ltp lustre-devel netdev qemu-devel sparclinux virtualization xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15md-cluster: Use kcalloc() in lock_all_bitmaps()drivers/md/md-cluster.c+4 -30 replies
2/15md-cluster: Improve another size determination in resync_info_update()drivers/md/md-cluster.c+1 -10 replies
3/15md-cluster: Improve another size determination in join()drivers/md/md-cluster.c+1 -10 replies
4/15md-cluster: Improve another size determination in __sendmsg()drivers/md/md-cluster.c+1 -10 replies
5/15md-cluster: Improve another size determination in recv_daemon()drivers/md/md-cluster.c+1 -10 replies
6/15md-cluster: Rename a jump label in recv_daemon()drivers/md/md-cluster.c+2 -20 replies
7/15md-cluster: Improve another size determination in process_suspend_info()drivers/md/md-cluster.c+1 -20 replies
8/15md-cluster: Improve determination of sizes in read_resync_info()drivers/md/md-cluster.c+2 -20 replies
9/15md-cluster: Improve another size determination in lockres_init()drivers/md/md-cluster.c+1 -10 replies
10/15md-cluster: Delete an unnecessary variable initialisation in lockres_init()drivers/md/md-cluster.c+1 -10 replies
11/15md-cluster: Delete four error messages for a failed memory allocationdrivers/md/md-cluster.c+4 -120 replies
12/15md-cluster: Rename a jump label in area_resyncing()drivers/md/md-cluster.c+2 -20 replies
13/15md-cluster: Less function calls in join() after error detectiondrivers/md/md-cluster.c+26 -211 reply
14/15md-cluster: Less function calls in lockres_init() after error detectiondrivers/md/md-cluster.c+6 -40 replies
15/15md-cluster: Delete unnecessary braces in unlock_all_bitmaps()drivers/md/md-cluster.c+3 -43 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/15] md-cluster: Fine-tuning for ten function implementations

From: Markus Elfring <[email protected]>
Date: Sat, 1 Oct 2016 16:38:17 +0200

Several update suggestions were taken into account from static source code analysis.

Markus Elfring (15):
Use kcalloc() in lock_all_bitmaps()
Improve another size determination in resync_info_update() Improve another size determination in join()
Improve another size determination in __sendmsg() Improve another size determination in recv_daemon() Rename a jump label in recv_daemon()
Improve another size determination in process_suspend_info() Improve determination of sizes in read_resync_info() Improve another size determination in lockres_init() Delete an unnecessary variable initialisation in lockres_init() Delete four error messages for a failed memory allocation Rename a jump label in area_resyncing()
Less function calls in join() after error detection Less function calls in lockres_init() after error detection Delete unnecessary braces in unlock_all_bitmaps()

 drivers/md/md-cluster.c | 114 ++++++++++++++++++++++++------------------------
 1 file changed, 56 insertions(+), 58 deletions(-)
Signature · 1 line
2.10.0