From: Bart V. A. <bva...@ac...> - 2013-08-23 14:02:45
|
Hello Rakesh, For the RTPG command it's probably easier to let the SCST kernel code compute the RTPG response. That will avoid having to duplicate the code that computes the RTPG response. Bart. On 08/22/13 21:15, Rakesh wrote: > Thanks Bart. Since the fileio-tgt in user space, I will have to get configured information from sysfs or is there any other way? > > Rakesh > > Sent from my iPhone > >> On Aug 22, 2013, at 2:40 PM, Bart Van Assche <bva...@ac...> wrote: >> >>> On 08/22/13 04:27, Rakesh Patel wrote: >>> Is ALUA ("sg_inq" and "sg_rtgp") supported in User space device handler >>> (FILEIO_TGT)? If not, how easy to support it? >> >> Implicit ALUA is not yet supported by the fileio_tgt driver. However, it shouldn't be too hard to add such support. Adding support for the REPORT TARGET PORT GROUPS, adding the target port group identifier in INQUIRY result for (page code 0x83) and setting the IMPLICIT ALUA bit in the INQUIRY result for page code 0x00 should be sufficient. See also the scst_vdisk changes included in trunk revision r3446 (2011-05-11). >> >> Bart. >> > |