All of lore.kernel.org
 help / color / mirror / Atom feed
From: Damien Le Moal <Damien.LeMoal@wdc.com>
To: Douglas Gilbert <dgilbert@interlog.com>,
	"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>
Cc: "martin.petersen@oracle.com" <martin.petersen@oracle.com>,
	"jejb@linux.vnet.ibm.com" <jejb@linux.vnet.ibm.com>,
	"hare@suse.de" <hare@suse.de>
Subject: Re: [PATCH v21 45/46] sg: add statistics similar to st
Date: Tue, 5 Oct 2021 03:34:45 +0000	[thread overview]
Message-ID: <DM6PR04MB70816AE786BA1DC87B589C19E7AF9@DM6PR04MB7081.namprd04.prod.outlook.com> (raw)
In-Reply-To: 20211003163151.585349-46-dgilbert@interlog.com

On 2021/10/04 1:38, Douglas Gilbert wrote:
> Using the existing statistics gathering framework from the st
> driver, collect statistics for access via sysfs. The sysstat
> package already has a utility called tapestat for presenting
> st statistics. Its author is keen to use the existing
> tapestat code for showing sg statistics (rather than write a
> new utility).
> 
> In keeping with the sg driver being SCSI command agnostic, the
> "read" statistics are compiled for requests that have "data-in"
> user data while write statistics are compiled for requests that
> have "data-out" user data.
> 
> Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>

Looks good to me.

Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>


> ---
>  drivers/scsi/sg.c | 260 ++++++++++++++++++++++++++++++++++++++++------
>  1 file changed, 228 insertions(+), 32 deletions(-)
> 
> diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c
> index ed61d8f8fcba..c5f0c11e2c71 100644
> --- a/drivers/scsi/sg.c
> +++ b/drivers/scsi/sg.c
> @@ -213,7 +213,7 @@ struct sg_request {	/* active SCSI command or inactive request */
>  	atomic_t rq_st;		/* request state, holds a enum sg_rq_state */
>  	u8 cmd_opcode;		/* first byte of SCSI cdb */
>  	blk_qc_t cookie;	/* ids 1 or more queues for blk_poll() */
> -	u64 start_ns;		/* starting point of command duration calc */
> +	ktime_t start_dur;	/* start time if before completion */
>  	unsigned long frq_bm[1];	/* see SG_FRQ_* defines above */
>  	u8 *sense_bp;		/* mempool alloc-ed sense buffer, as needed */
>  	struct sg_fd *parentfp;	/* pointer to owning fd, even when on fl */
> @@ -256,8 +256,10 @@ struct sg_device { /* holds the state of each scsi generic device */
>  	u32 index;		/* device index number */
>  	atomic_t open_cnt;	/* count of opens (perhaps < num(sfds) ) */
>  	unsigned long fdev_bm[1];	/* see SG_FDEV_* defines above */
> +	spinlock_t stats_lock;
>  	char name[DISK_NAME_LEN];
>  	struct cdev *cdev;
> +	struct sg_dev_stats *statsp;
>  	struct xarray sfp_arr;
>  	struct kref d_ref;
>  };
> @@ -275,6 +277,19 @@ struct sg_comm_wr_t {  /* arguments to sg_common_write() */
>  	const u8 __user *u_cmdp;
>  };
>  
> +struct sg_dev_stats {	/* copied from drivers/scsi/st.h scsi_tape_stats */
> +	u64 read_byte_cnt;	/* data-in bytes */
> +	u64 write_byte_cnt;	/* data-out bytes */
> +	u64 read_cnt;		/* Count of data-in requests */
> +	u64 write_cnt;		/* Count of data-out requests */
> +	u64 other_cnt;		/* Count of non-data requests */
> +	u64 resid_cnt;		/* Count of cmds with resid_len > 0 */
> +	u64 tot_read_time;	/* time spent completing data-in requests */
> +	u64 tot_write_time;	/* time spent completing data-out requests */
> +	u64 tot_ndata_time;	/* time spent completing non-data requests */
> +	atomic_t in_flight;	/* Number of I/Os in flight */
> +};
> +
>  /* tasklet or soft irq callback */
>  static void sg_rq_end_io(struct request *rq, blk_status_t status);
>  /* Declarations of other static functions used before they are defined */
> @@ -306,6 +321,8 @@ static struct sg_request *sg_mk_srp_sgat(struct sg_fd *sfp, bool first,
>  static int sg_sfp_blk_poll(struct sg_fd *sfp, int loop_count);
>  static int sg_srp_q_blk_poll(struct sg_request *srp, struct request_queue *q,
>  			     int loop_count);
> +static u32 sg_get_dur(struct sg_request *srp, const enum sg_rq_state *sr_stp,
> +		      bool *is_durp);
>  #if IS_ENABLED(CONFIG_SCSI_LOGGING) && IS_ENABLED(SG_DEBUG)
>  static const char *sg_rq_st_str(enum sg_rq_state rq_st, bool long_str);
>  #endif
> @@ -1016,11 +1033,17 @@ sg_execute_cmd(struct sg_fd *sfp, struct sg_request *srp)
>  {
>  	bool at_head, is_v4h, sync;
>  	struct request *rqq = READ_ONCE(srp->rqq);
> +	struct sg_device *sdp = sfp->parentdp;
>  
>  	is_v4h = test_bit(SG_FRQ_IS_V4I, srp->frq_bm);
>  	sync = test_bit(SG_FRQ_SYNC_INVOC, srp->frq_bm);
>  	SG_LOG(3, sfp, "%s: is_v4h=%d\n", __func__, (int)is_v4h);
> -	srp->start_ns = ktime_get_boottime_ns();
> +	if (sdp->statsp) {
> +		atomic_inc(&sdp->statsp->in_flight);
> +		WRITE_ONCE(srp->start_dur, ktime_get_boottime());
> +	} else {
> +		WRITE_ONCE(srp->start_dur, 0);
> +	}
>  	srp->duration = 0;
>  
>  	if (!is_v4h && srp->s_hdr3.interface_id == '\0')
> @@ -1194,11 +1217,47 @@ sg_copy_sense(struct sg_request *srp, bool v4_active)
>  	return sb_len_ret;
>  }
>  
> +static void
> +sg_do_stats(struct sg_fd *sfp, struct sg_request *srp, bool v4_active)
> +{
> +	int dir = v4_active ? srp->s_hdr4.dir : srp->s_hdr3.dxfer_direction;
> +	ktime_t kt = READ_ONCE(srp->start_dur);
> +	u64 ns = (kt > 0) ? ktime_to_ns(kt) : 0;
> +	struct sg_device *sdp = sfp->parentdp;
> +	struct sg_dev_stats *statsp = sdp->statsp;
> +
> +	if (!statsp)
> +		return;
> +	spin_lock(&sdp->stats_lock);
> +	if (dir == SG_DXFER_TO_DEV) {		/* data-out, write-like */
> +		statsp->tot_write_time += ns;
> +		++statsp->write_cnt;
> +		statsp->write_byte_cnt += srp->sgat_h.dlen;
> +	} else if (dir == SG_DXFER_FROM_DEV) {	/* data-in, read-like */
> +		statsp->tot_read_time += ns;
> +		++statsp->read_cnt;
> +		statsp->read_byte_cnt += srp->sgat_h.dlen;
> +		if (srp->in_resid > 0)
> +			++statsp->resid_cnt;
> +	} else {	/* no data transfer (e.g. TEST UNIT READY) */
> +		statsp->tot_ndata_time += ns;
> +		++statsp->other_cnt;
> +	}
> +	atomic_dec(&statsp->in_flight);
> +	spin_unlock(&sdp->stats_lock);
> +}
> +
>  static int
>  sg_rec_state_v3v4(struct sg_fd *sfp, struct sg_request *srp, bool v4_active)
>  {
>  	u32 rq_res = srp->rq_result;
>  
> +	if (sfp->parentdp->statsp) {
> +		const enum sg_rq_state sr_st = SG_RS_BUSY;
> +
> +		sg_do_stats(sfp, srp, v4_active);
> +		srp->duration = sg_get_dur(srp, &sr_st, NULL);
> +	}
>  	if (unlikely(srp->rq_result & 0xff)) {
>  		int sb_len_wr = sg_copy_sense(srp, v4_active);
>  
> @@ -1626,49 +1685,41 @@ sg_calc_sgat_param(struct sg_device *sdp)
>  	sdp->max_sgat_sz = sz;
>  }
>  
> -static u32
> -sg_calc_rq_dur(const struct sg_request *srp)
> -{
> -	ktime_t ts0 = ns_to_ktime(srp->start_ns);
> -	ktime_t now_ts;
> -	s64 diff;
> -
> -	if (ts0 == 0)
> -		return 0;
> -	if (unlikely(ts0 == S64_MAX))	/* _prior_ to issuing req */
> -		return 999999999;	/* eye catching */
> -	now_ts = ktime_get_boottime();
> -	if (unlikely(ts0 > now_ts))
> -		return 999999998;
> -	/* unlikely req duration will exceed 2**32 milliseconds */
> -	diff = ktime_ms_delta(now_ts, ts0);
> -	return (diff > (s64)U32_MAX) ? 3999999999U : (u32)diff;
> -}
> -
> -/* Return of U32_MAX means srp is inactive state */
>  static u32
>  sg_get_dur(struct sg_request *srp, const enum sg_rq_state *sr_stp,
>  	   bool *is_durp)
>  {
>  	bool is_dur = false;
> -	u32 res = U32_MAX;
> +	s64 dur_ns;
> +	ktime_t start_dur = READ_ONCE(srp->start_dur);
>  
> +	if (ktime_to_ns(start_dur) <= 0) {
> +		is_dur = true;
> +		dur_ns = 0;
> +		goto fini;
> +	}
>  	switch (sr_stp ? *sr_stp : atomic_read(&srp->rq_st)) {
> -	case SG_RS_INFLIGHT:
>  	case SG_RS_BUSY:
> -		res = sg_calc_rq_dur(srp);
> +		if (test_bit(SG_FRQ_ISSUED, srp->frq_bm)) {
> +			dur_ns = ktime_to_ns(start_dur);
> +			is_dur = true;
> +			break;
> +		}
> +		dur_ns = 1;
> +		break;
> +	case SG_RS_INFLIGHT:
> +		dur_ns = ktime_sub(ktime_get_boottime(), start_dur);
>  		break;
>  	case SG_RS_AWAIT_RCV:
>  	case SG_RS_INACTIVE:
> -		res = srp->duration;
> +		dur_ns = ktime_to_ns(start_dur);
>  		is_dur = true;	/* completion has occurred, timing finished */
>  		break;
> -	default:
> -		break;
>  	}
> +fini:
>  	if (is_durp)
>  		*is_durp = is_dur;
> -	return res;
> +	return ktime_to_ms(ns_to_ktime(dur_ns));
>  }
>  
>  static void
> @@ -1679,8 +1730,6 @@ sg_fill_request_element(struct sg_fd *sfp, struct sg_request *srp,
>  
>  	xa_lock_irqsave(&sfp->srp_arr, iflags);
>  	rip->duration = sg_get_dur(srp, NULL, NULL);
> -	if (rip->duration == U32_MAX)
> -		rip->duration = 0;
>  	rip->orphan = test_bit(SG_FRQ_IS_ORPHAN, srp->frq_bm);
>  	rip->sg_io_owned = test_bit(SG_FRQ_SYNC_INVOC, srp->frq_bm);
>  	rip->problem = !!(srp->rq_result & SG_ML_RESULT_MSK);
> @@ -2478,6 +2527,7 @@ sg_rq_end_io(struct request *rqq, blk_status_t status)
>  	int a_resid, slen;
>  	u32 rq_result;
>  	unsigned long iflags;
> +	ktime_t start_tm;
>  	struct sg_request *srp = rqq->end_io_data;
>  	struct scsi_request *scsi_rp = scsi_req(rqq);
>  	struct sg_device *sdp;
> @@ -2504,7 +2554,9 @@ sg_rq_end_io(struct request *rqq, blk_status_t status)
>  
>  	SG_LOG(6, sfp, "%s: pack_id=%d, res=0x%x\n", __func__, srp->pack_id,
>  	       rq_result);
> -	srp->duration = sg_calc_rq_dur(srp);
> +	start_tm = READ_ONCE(srp->start_dur);
> +	if (start_tm > 0)
> +		WRITE_ONCE(srp->start_dur, ktime_sub(ktime_get_boottime(), start_tm));
>  	if (unlikely((rq_result & SG_ML_RESULT_MSK) && slen > 0 &&
>  		     test_bit(SG_FDEV_LOG_SENSE, sdp->fdev_bm))) {
>  		u32 scsi_stat = rq_result & 0xff;
> @@ -2652,9 +2704,12 @@ sg_add_device_helper(struct scsi_device *scsidp)
>  		kfree(sdp);
>  		return ERR_PTR(error);
>  	}
> +	spin_lock_init(&sdp->stats_lock);
>  	return sdp;
>  }
>  
> +static const struct attribute_group *sg_dev_groups[];
> +
>  static int
>  sg_add_device(struct device *cl_dev, struct class_interface *cl_intf)
>  {
> @@ -2679,6 +2734,8 @@ sg_add_device(struct device *cl_dev, struct class_interface *cl_intf)
>  		error = PTR_ERR(sdp);
>  		goto out;
>  	}
> +	sdp->statsp = kzalloc(sizeof(*sdp->statsp), GFP_KERNEL);
> +	/* don't worry if NULL, probably a lot of devices */
>  
>  	error = cdev_add(cdev, MKDEV(SCSI_GENERIC_MAJOR, sdp->index), 1);
>  	if (error)
> @@ -2688,6 +2745,8 @@ sg_add_device(struct device *cl_dev, struct class_interface *cl_intf)
>  	if (sg_sysfs_valid) {
>  		struct device *sg_class_member;
>  
> +		if (sdp->statsp)
> +			sg_sysfs_class->dev_groups = sg_dev_groups;
>  		sg_class_member = device_create(sg_sysfs_class, cl_dev->parent,
>  						MKDEV(SCSI_GENERIC_MAJOR,
>  						      sdp->index),
> @@ -2714,6 +2773,7 @@ sg_add_device(struct device *cl_dev, struct class_interface *cl_intf)
>  	return 0;
>  
>  cdev_add_err:
> +	kfree(sdp->statsp);
>  	write_lock_irqsave(&sg_index_lock, iflags);
>  	idr_remove(&sg_index_idr, sdp->index);
>  	write_unlock_irqrestore(&sg_index_lock, iflags);
> @@ -2741,6 +2801,7 @@ sg_device_destroy(struct kref *kref)
>  	 */
>  
>  	xa_destroy(&sdp->sfp_arr);
> +	kfree(sdp->statsp);
>  	write_lock_irqsave(&sg_index_lock, flags);
>  	idr_remove(&sg_index_idr, sdp->index);
>  	write_unlock_irqrestore(&sg_index_lock, flags);
> @@ -3882,6 +3943,141 @@ sg_rq_st_str(enum sg_rq_state rq_st, bool long_str)
>  }
>  #endif
>  
> +static ssize_t read_cnt_show(struct device *dev, struct device_attribute *attr, char *buf)
> +{
> +	struct sg_device *sdp = dev_get_drvdata(dev);
> +	struct sg_dev_stats *sp = sdp->statsp;
> +
> +	if (!sdp || !sp)
> +		return -EINVAL;
> +	return sysfs_emit(buf, "%llu\n", sp->read_cnt);
> +}
> +static DEVICE_ATTR_RO(read_cnt);
> +
> +static ssize_t read_byte_cnt_show(struct device *dev, struct device_attribute *attr, char *buf)
> +{
> +	struct sg_device *sdp = dev_get_drvdata(dev);
> +	struct sg_dev_stats *sp = sdp->statsp;
> +
> +	if (!sdp || !sp)
> +		return -EINVAL;
> +	return sysfs_emit(buf, "%llu\n", sp->read_byte_cnt);
> +}
> +static DEVICE_ATTR_RO(read_byte_cnt);
> +
> +static ssize_t read_ns_show(struct device *dev, struct device_attribute *attr, char *buf)
> +{
> +	struct sg_device *sdp = dev_get_drvdata(dev);
> +	struct sg_dev_stats *sp = sdp->statsp;
> +
> +	if (!sdp || !sp)
> +		return -EINVAL;
> +	return sysfs_emit(buf, "%llu\n", sp->tot_read_time);
> +}
> +static DEVICE_ATTR_RO(read_ns);
> +
> +static ssize_t write_cnt_show(struct device *dev, struct device_attribute *attr, char *buf)
> +{
> +	struct sg_device *sdp = dev_get_drvdata(dev);
> +	struct sg_dev_stats *sp = sdp->statsp;
> +
> +	if (!sdp || !sp)
> +		return -EINVAL;
> +	return sysfs_emit(buf, "%llu\n", sp->write_cnt);
> +}
> +static DEVICE_ATTR_RO(write_cnt);
> +
> +static ssize_t write_byte_cnt_show(struct device *dev, struct device_attribute *attr, char *buf)
> +{
> +	struct sg_device *sdp = dev_get_drvdata(dev);
> +	struct sg_dev_stats *sp = sdp->statsp;
> +
> +	if (!sdp || !sp)
> +		return -EINVAL;
> +	return sysfs_emit(buf, "%llu\n", sp->write_byte_cnt);
> +}
> +static DEVICE_ATTR_RO(write_byte_cnt);
> +
> +static ssize_t write_ns_show(struct device *dev, struct device_attribute *attr, char *buf)
> +{
> +	struct sg_device *sdp = dev_get_drvdata(dev);
> +	struct sg_dev_stats *sp = sdp->statsp;
> +
> +	if (!sdp || !sp)
> +		return -EINVAL;
> +	return sysfs_emit(buf, "%llu\n", sp->tot_write_time);
> +}
> +static DEVICE_ATTR_RO(write_ns);
> +
> +static ssize_t in_flight_show(struct device *dev, struct device_attribute *attr, char *buf)
> +{
> +	struct sg_device *sdp = dev_get_drvdata(dev);
> +	struct sg_dev_stats *sp = sdp->statsp;
> +
> +	if (!sdp || !sp)
> +		return -EINVAL;
> +	return sysfs_emit(buf, "%d\n", atomic_read(&sp->in_flight));
> +}
> +static DEVICE_ATTR_RO(in_flight);
> +
> +static ssize_t io_ns_show(struct device *dev, struct device_attribute *attr, char *buf)
> +{
> +	struct sg_device *sdp = dev_get_drvdata(dev);
> +	struct sg_dev_stats *sp = sdp->statsp;
> +
> +	if (!sdp || !sp)
> +		return -EINVAL;
> +	return sysfs_emit(buf, "%llu\n",
> +			  sp->tot_read_time + sp->tot_write_time + sp->tot_ndata_time);
> +}
> +static DEVICE_ATTR_RO(io_ns);
> +
> +static ssize_t other_cnt_show(struct device *dev, struct device_attribute *attr, char *buf)
> +{
> +	struct sg_device *sdp = dev_get_drvdata(dev);
> +	struct sg_dev_stats *sp = sdp->statsp;
> +
> +	if (!sdp || !sp)
> +		return -EINVAL;
> +	return sysfs_emit(buf, "%llu\n", sp->other_cnt);
> +}
> +static DEVICE_ATTR_RO(other_cnt);
> +
> +static ssize_t resid_cnt_show(struct device *dev, struct device_attribute *attr, char *buf)
> +{
> +	struct sg_device *sdp = dev_get_drvdata(dev);
> +	struct sg_dev_stats *sp = sdp->statsp;
> +
> +	if (!sdp || !sp)
> +		return -EINVAL;
> +	return sysfs_emit(buf, "%llu\n", sp->resid_cnt);
> +}
> +static DEVICE_ATTR_RO(resid_cnt);
> +
> +static struct attribute *sg_stats_attrs[] = {
> +	&dev_attr_read_cnt.attr,
> +	&dev_attr_read_byte_cnt.attr,
> +	&dev_attr_read_ns.attr,
> +	&dev_attr_write_cnt.attr,
> +	&dev_attr_write_byte_cnt.attr,
> +	&dev_attr_write_ns.attr,
> +	&dev_attr_in_flight.attr,
> +	&dev_attr_io_ns.attr,
> +	&dev_attr_other_cnt.attr,
> +	&dev_attr_resid_cnt.attr,
> +	NULL,
> +};
> +
> +static struct attribute_group sg_stats_group = {
> +	.name = "stats",
> +	.attrs = sg_stats_attrs,
> +};
> +
> +static const struct attribute_group *sg_dev_groups[] = {
> +	&sg_stats_group,
> +	NULL,
> +};
> +
>  #if IS_ENABLED(SG_PROC_OR_DEBUG_FS)
>  
>  #define SG_SNAPSHOT_DEV_MAX 4
> 


-- 
Damien Le Moal
Western Digital Research

  parent reply	other threads:[~2021-10-05  3:34 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-03 16:31 [PATCH v21 00/46] sg: add v4 interface Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 01/46] sg: move functions around Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 02/46] sg: remove typedefs, type+formatting cleanup Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 03/46] sg: sg_log and is_enabled Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 04/46] sg: rework sg_poll(), minor changes Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 05/46] sg: bitops in sg_device Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 06/46] sg: make open count an atomic Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 07/46] sg: move header to uapi section Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 08/46] sg: speed sg_poll and sg_get_num_waiting Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 09/46] sg: sg_allow_if_err_recovery and renames Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 10/46] sg: improve naming Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 11/46] sg: change rwlock to spinlock Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 12/46] sg: ioctl handling Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 13/46] sg: split sg_read Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 14/46] sg: sg_common_write add structure for arguments Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 15/46] sg: rework sg_vma_fault Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 16/46] sg: rework sg_mmap Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 17/46] sg: replace sg_allow_access Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 18/46] sg: rework scatter gather handling Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 19/46] sg: introduce request state machine Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 20/46] sg: sg_find_srp_by_id Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 21/46] sg: sg_fill_request_element Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 22/46] sg: printk change %p to %pK Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 23/46] sg: xarray for fds in device Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 24/46] sg: xarray for reqs in fd Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 25/46] sg: replace rq array with xarray Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 26/46] sg: sense buffer rework Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 27/46] sg: add sg v4 interface support Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 28/46] sg: rework debug info Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 29/46] sg: add 8 byte SCSI LUN to sg_scsi_id Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 30/46] sg: expand sg_comm_wr_t Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 31/46] sg: add sg_iosubmit_v3 and sg_ioreceive_v3 ioctls Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 32/46] sg: add some __must_hold macros Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 33/46] sg: move procfs objects to avoid forward decls Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 34/46] sg: protect multiple receivers Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 35/46] sg: first debugfs support Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 36/46] sg: rework mmap support Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 37/46] sg: defang allow_dio Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 38/46] sg: warn v3 write system call users Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 39/46] sg: add mmap_sz tracking Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 40/46] sg: remove rcv_done request state Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 41/46] sg: track lowest inactive and await indexes Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 42/46] sg: remove unit attention check for device changed Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 43/46] sg: no_dxfer: move to/from kernel buffers Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 44/46] sg: add blk_poll support Douglas Gilbert
2021-10-03 16:31 ` [PATCH v21 45/46] sg: add statistics similar to st Douglas Gilbert
2021-10-04  5:59   ` Hannes Reinecke
2021-10-05  3:34   ` Damien Le Moal [this message]
2021-10-03 16:31 ` [PATCH v21 46/46] sg: bump version to 4.0.12 Douglas Gilbert
2021-10-04  7:07 ` [PATCH v21 00/46] sg: add v4 interface Johannes Thumshirn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM6PR04MB70816AE786BA1DC87B589C19E7AF9@DM6PR04MB7081.namprd04.prod.outlook.com \
    --to=damien.lemoal@wdc.com \
    --cc=dgilbert@interlog.com \
    --cc=hare@suse.de \
    --cc=jejb@linux.vnet.ibm.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.