lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87ske2sa2n.fsf@basil.nowhere.org>
Date:	Fri, 02 Oct 2009 06:18:08 +0200
From:	Andi Kleen <andi@...stfloor.org>
To:	Sage Weil <sage@...dream.net>
Cc:	linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
	akpm@...ux-foundation.org, yehuda@...dream.net
Subject: Re: [PATCH 19/21] ceph: ioctls

Sage Weil <sage@...dream.net> writes:
> +/*
> + * Extract identity, address of the OSD and object storing a given
> + * file offset.
> + */
> +struct ceph_ioctl_dataloc {
> +	__u64 file_offset;           /* in+out: file offset */
> +	__u64 object_offset;         /* out: offset in object */
> +	__u64 object_no;             /* out: object # */
> +	__u64 object_size;           /* out: object size */
> +	char object_name[64];        /* out: object name */
> +	__u64 block_offset;          /* out: offset in block */
> +	__u64 block_size;            /* out: block length */
> +	__s64 osd;                   /* out: osd # */
> +	struct sockaddr_in osd_addr; /* out: osd address */

You'll have to revise that once you support IPv6. At least extend the structure
better now? (_in is too small for IPv6)

-Andi
-- 
ak@...ux.intel.com -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ