search for: cg_item

Displaying 7 results from an estimated 7 matches for "cg_item".

2008 Jun 12
5
[RFC][PATCH 0/3] configfs: Miscellaneous fixes
Hi, The following patches fix few bugs/APIs in configfs. The third one depends on the patch introducing configfs_dirent_lock previously submitted in http://lkml.org/lkml/2008/6/12/232 Louis -- Dr Louis Rilling Kerlabs Skype: louis.rilling Batiment Germanium Phone: (+33|0) 6 80 89 08 23 80 avenue des Buttes de Coesmes http://www.kerlabs.com/ 35700 Rennes
2023 Feb 23
5
[PATCH 0/5] vhost-scsi: Fix management operation hangs
The following patches were made over Linus tree and also apply over mst tree's vhost branch. The patches fix an issue where management operations like LUN mapping/unmapping and device addition hang for 30 seconds or up to N minutes depending on the device. The problem is that we use a global mutex to protect the list of tpgs but we hold that mutex during those management operations. So if you
2020 Sep 24
0
[PATCH 3/8] vhost scsi: alloc cmds per vq instead of session
...tex); > ret = -EEXIST; > - goto out; > + goto undepend; > } > /* > * In order to ensure individual vhost-scsi configfs > @@ -1442,9 +1522,8 @@ static void vhost_scsi_flush(struct vhost_scsi *vs) > ret = target_depend_item(&se_tpg->tpg_group.cg_item); > if (ret) { > pr_warn("target_depend_item() failed: %d\n", ret); > - kfree(vs_tpg); > mutex_unlock(&tpg->tv_tpg_mutex); > - goto out; > + goto undepend; > } > tpg->tv_tpg_vhost_count++; > tpg->vhost_scsi = vs; &...
2023 Mar 21
8
[PATCH v2 0/7] vhost-scsi: Fix crashes and management op hangs
The following patches were made over Linus tree. The patches fix 3 issues: 1. If a user performs LIO LUN unmapping before the endpoint has been cleared then we can end up trying to free a bogus tmf struct if the TMF is still exucuting when we do the unmap. 2. If vhost_scsi_setup_vq_cmds fails we can leave the tpg->vhost_scsi pointer set and we can end up trying to access a freed struct. 3.
2018 Dec 13
0
[PATCH] vhost: correct the related warning message
...i spec requires byte 0 of the lun to be 1 */ > vq_err(vq, "Illegal virtio-scsi lun: %u\n", *vc->lunp); > @@ -1441,7 +1441,7 @@ static void vhost_scsi_flush(struct vhost_scsi *vs) > se_tpg = &tpg->se_tpg; > ret = target_depend_item(&se_tpg->tpg_group.cg_item); > if (ret) { > - pr_warn("configfs_depend_item() failed: %d\n", ret); > + pr_warn("target_depend_item() failed: %d\n", ret); > kfree(vs_tpg); > mutex_unlock(&tpg->tv_tpg_mutex); > goto out; > -- > 1.8.3.1 >
2006 Feb 21
1
[PATCH 07/14] ocfs2: actually free hb set on cluster removal
...@@ static void o2nm_cluster_group_drop_item BUG_ON(o2nm_single_cluster != cluster); o2nm_single_cluster = NULL; + o2hb_free_hb_set(cluster->cl_group.default_groups[1]); for (i = 0; cluster->cl_group.default_groups[i]; i++) { killme = &cluster->cl_group.default_groups[i]->cg_item; cluster->cl_group.default_groups[i] = NULL;
2008 Jul 14
18
[git patches] Ocfs2 and Configfs updates for 2.6.27
I'm running a bit late with the e-mail this time around, but I think that's ok since there really isn't any major new features here - the bulk of the Ocfs2 update is bug fixes, or cleanups. The same goes for configfs. The only two things that could be described as features would be: - Sunil has updated Ocfs2 to provide even more live cluster locking information via debugfs. - Joel