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: <20130118094934.GA20442@gmail.com>
Date:	Fri, 18 Jan 2013 17:49:34 +0800
From:	Zheng Liu <gnehzuil.liu@...il.com>
To:	Theodore Ts'o <tytso@....edu>
Cc:	linux-ext4@...r.kernel.org, Jan kara <jack@...e.cz>,
	Zheng Liu <wenqing.lz@...bao.com>
Subject: Re: [PATCH 3/7 v2] ext4: add physical block and status member into
 extent status tree

On Wed, Jan 16, 2013 at 11:42:13PM -0500, Theodore Ts'o wrote:
> On Fri, Jan 11, 2013 at 06:53:43PM +0800, Zheng Liu wrote:
> >  struct extent_status {
> >  	struct rb_node rb_node;
> >  	ext4_lblk_t es_lblk;	/* first logical block extent covers */
> >  	ext4_lblk_t es_len;	/* length of extent in block */
> > +	ext4_fsblk_t es_pblk;	/* first physical block */
> > +	int es_status;		/* record the status of extent */
> >  };
> 
> Given that we only support 48 bits for the physical block number, and
> we only need two bits for es_status, one thing we could do to save
> memory is to stash the es_status bits in the top two bits of es_pblk.

Thanks for the comment.  In next version, es_status will be stashed into
es_pblk.

Regards,
                                                - Zheng
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ