Displaying 4 results from an estimated 4 matches for "vs_during_flush".
2013 Mar 11
4
[PATCH] tcm_vhost: Wait for pending requests in vhost_scsi_flush()
...quests issued
> > > > + * before/during the flush operation
> > > > + */
> > > > + u64 vs_inflight[2];
> > > > + wait_queue_head_t vs_flush_wait; /* wait queue for flush operation */
> > > > + spinlock_t vs_flush_lock; /* lock to protect vs_during_flush */
> > > > + int vs_during_flush; /* flag to indicate if we are in flush operation */
> > > > };
> > > >
> > > > /* Local pointer to allocated TCM configfs fabric module */
> > > > @@ -108,6 +117,46 @@ static int iov_num_pages(struct i...
2013 Mar 11
4
[PATCH] tcm_vhost: Wait for pending requests in vhost_scsi_flush()
...quests issued
> > > > + * before/during the flush operation
> > > > + */
> > > > + u64 vs_inflight[2];
> > > > + wait_queue_head_t vs_flush_wait; /* wait queue for flush operation */
> > > > + spinlock_t vs_flush_lock; /* lock to protect vs_during_flush */
> > > > + int vs_during_flush; /* flag to indicate if we are in flush operation */
> > > > };
> > > >
> > > > /* Local pointer to allocated TCM configfs fabric module */
> > > > @@ -108,6 +117,46 @@ static int iov_num_pages(struct i...
2013 Mar 22
4
[PATCH V2 0/3] tcm_vhost pending requests flush
Changes in v2:
- Increase/Decrease inflight requests in
vhost_scsi_{allocate,free}_cmd and tcm_vhost_{allocate,free}_evt
Asias He (3):
tcm_vhost: Wait for pending requests in vhost_scsi_flush()
tcm_vhost: Wait for pending requests in vhost_scsi_clear_endpoint()
tcm_vhost: Fix tv_cmd leak in vhost_scsi_handle_vq
drivers/vhost/tcm_vhost.c | 131
2013 Mar 22
4
[PATCH V2 0/3] tcm_vhost pending requests flush
Changes in v2:
- Increase/Decrease inflight requests in
vhost_scsi_{allocate,free}_cmd and tcm_vhost_{allocate,free}_evt
Asias He (3):
tcm_vhost: Wait for pending requests in vhost_scsi_flush()
tcm_vhost: Wait for pending requests in vhost_scsi_clear_endpoint()
tcm_vhost: Fix tv_cmd leak in vhost_scsi_handle_vq
drivers/vhost/tcm_vhost.c | 131