zfs_cmd_t size issue.

Samir Desai hellosamirdesai at gmail.com
Mon Jul 26 07:55:37 UTC 2010


hi Pawel

Shouldn't the MAX ioctl size be defined to

#define	IOCPARM_MAX	((1 << IOCPARM_SHIFT) - 1 )

Strictly speaking size 8192 can not be encoded.

regards
Samir



On Thu, Jul 22, 2010 at 11:21 PM, Pawel Jakub Dawidek <pjd at freebsd.org>wrote:

> Samir, could you take a look at this change:
>
>        http://svn.freebsd.org/changeset/base/206051
>
> I think it should fix ioctl structure size limti for good.
> I'll investigate if the change can be merged to stable/8.
>
> --
> Pawel Jakub Dawidek                       http://www.wheelsystems.com
> pjd at FreeBSD.org                           http://www.FreeBSD.org
> FreeBSD committer                         Am I Evil? Yes, I Am!
>


More information about the zfs-devel mailing list