On Sat, Apr 28, 2018 at 10:01:57AM +, Timofey Titovets wrote:
> May be i misunderstood something, but i was think that slab combine
> several pages in continuous range, so object in slab can cross page
> boundary. So, all calculation will be very depends on scale of slab
> size.
>
> i.e. on
чт, 26 апр. 2018 г. в 16:44, David Sterba :
> On Wed, Apr 25, 2018 at 02:37:17AM +0300, Timofey Titovets wrote:
> > Currently btrfs_inode have size equal 1136 bytes. (On x86_64).
> >
> > struct btrfs_inode store several vars releated to compression code,
> > all states use 1 or 2
On Wed, Apr 25, 2018 at 02:37:17AM +0300, Timofey Titovets wrote:
> Currently btrfs_inode have size equal 1136 bytes. (On x86_64).
>
> struct btrfs_inode store several vars releated to compression code,
> all states use 1 or 2 bits.
>
> Lets declare bitfields for compression releated vars, to
Currently btrfs_inode have size equal 1136 bytes. (On x86_64).
struct btrfs_inode store several vars releated to compression code,
all states use 1 or 2 bits.
Lets declare bitfields for compression releated vars, to reduce
sizeof btrfs_inode to 1128 bytes.
Signed-off-by: Timofey Titovets