]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
sparc64: change DAX CCB_EXEC ENOBUFS print to debug
authorJonathan Helman <jonathan.helman@oracle.com>
Fri, 21 Apr 2017 00:45:56 +0000 (17:45 -0700)
committerShannon Nelson <shannon.nelson@oracle.com>
Wed, 31 May 2017 23:43:46 +0000 (16:43 -0700)
Orabug: 25927528

The CCB_EXEC ioctl in the DAX driver returns ENOBUFS when the user must
free completion areas before the submission can succeed. There is a
dax_err() print when this condition occurs. This print should be changed to
a dax_dbg() print since this return value can be used by the caller to
trigger freeing the completion areas, hence an error print is too verbose.

Signed-off-by: Jonathan Helman <jonathan.helman@oracle.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Sanath Kumar <sanath.s.kumar@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
arch/sparc/dax/dax_main.c

index d6dc550165a91ef28c3774f1f3548cdd71dee3d2..5dfb8bbd37c26e53490a21464d5db3409eb9c354 100644 (file)
@@ -753,7 +753,7 @@ static int dax_ioctl_ccb_exec(void *arg, struct file *f)
         * enhancement.
         */
        if (ccb_buf == NULL || nreserved != usr_args.dce_ccb_buf_len) {
-               dax_err("insufficient kernel CCB resources: user needs to free completion area space and retry");
+               dax_dbg("insufficient kernel CCB resources: user needs to free completion area space and retry");
                return -ENOBUFS;
        }