From 1d3c73d42254ef2ea73a0f05780c0184d5f0df0b Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 24 Feb 2019 05:21:06 +0000 Subject: [PATCH] scst_vdisk: Add a comment git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7983 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/dev_handlers/scst_vdisk.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index ca297625e..99ecce26d 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -5677,6 +5677,11 @@ static enum compl_status_e fileio_exec_var_len_cmd(struct vdisk_cmd_params *p) return res; } +/* + * Execute a SCSI write command against a file. If this function returns + * RUNNING_ASYNC the SCST command may already have completed before this + * function returns. + */ static enum compl_status_e fileio_exec_write(struct vdisk_cmd_params *p) { struct scst_cmd *cmd = p->cmd;