Re: [PATCH] NFSD: Check layout type when returning client layouts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 19, 2015 at 07:04:14PM +0800, Kinglong Mee wrote:
> According to RFC5661:
> " When lr_returntype is LAYOUTRETURN4_FSID, the current filehandle is used
>    to identify the file system and all layouts matching the client ID,
>    the fsid of the file system, lora_layout_type, and lora_iomode are
>    returned.  When lr_returntype is LAYOUTRETURN4_ALL, all layouts
>    matching the client ID, lora_layout_type, and lora_iomode are
>    returned and the current filehandle is not used. "
> 
> When returning client layouts, always check layout type.
> 
> Signed-off-by: Kinglong Mee <kinglongmee@xxxxxxxxx>

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux