Patch: zram add compressionratio in sysfs interface

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

 



Hello All,

Please find attached patch which adds new entry in existing zram device sysfs interface, this interface shows compression ratio for asked zram device.
Sysfs interface for 'orig_data_size' and 'mem_used_total' already present, 'compression_ratio' would be orig_data_size divided by mem_used_total.

Please check patch.

--
Regards,
Yogesh Gaur.

Attachment: 0001-zram-add-compressionratio-sysfs-interface.patch
Description:


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]