From: Tang Junhui
There is a machine with very little max_sectors_kb size:
[root@ceph151 queue]# pwd
/sys/block/sdd/queue
[root@ceph151 queue]# cat max_hw_sectors_kb
256
[root@ceph151 queue]# cat max_sectors_kb
256
The performance is very low when I run big I/Os.
I can not modify it directly
From: "tang.junhui"
Activate_complete fn() must be called in alua_activate() if
alua_rtpg_queue() failed, otherwise, it would cause I/Os hang in DM
devices. So this patch add return value and check for alua_rtpg_queue().
Signed-off-by: tang.junhui
---
drivers/scsi/device_handler/scsi_dh_alua.c
From: "tang.junhui"
scsi_device_put() is called when the conditions pg->rtpg_sdev!=NULL
and queue_delayed_work() failure satisfied, actually it should be not
to call because scsi_device_get() is not called previous in this scene.
Signed-off-by: tang.junhui
---
drivers/scsi/device_handler/scsi_
From: "tang.junhui"
Reference count of pg leaks in alua_rtpg_work() since kref_put()
is not called to decrease the reference count of pg when the
condition pg->rtpg_sdev==NULL satisfied (actually it is easy to
satisfy), it would cause memory of pg leakage.
Signed-off-by: tang.junhui
---
driver
From: "tang.junhui"
buff should be freed before returning with SCSI_DH_RETRY in alua_rtpg().
Signed-off-by: tang.junhui
---
drivers/scsi/device_handler/scsi_dh_alua.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/scsi/device_handler/scsi_dh_alua.c
b/drivers/scsi/device_handler/s
5 matches
Mail list logo