scsi: target: Allow userspace to request direct submissions
[linux-2.6-microblaze.git] / drivers / target / target_core_device.c
index b7ac60f..0f3fd77 100644 (file)
@@ -779,6 +779,7 @@ struct se_device *target_alloc_device(struct se_hba *hba, const char *name)
        dev->dev_attrib.unmap_zeroes_data =
                                DA_UNMAP_ZEROES_DATA_DEFAULT;
        dev->dev_attrib.max_write_same_len = DA_MAX_WRITE_SAME_LEN;
+       dev->dev_attrib.submit_type = TARGET_FABRIC_DEFAULT_SUBMIT;
 
        xcopy_lun = &dev->xcopy_lun;
        rcu_assign_pointer(xcopy_lun->lun_se_dev, dev);