zram-report-failed-read-and-write-stats.patch removed from -mm tree
Subsystems (2)
Subject: [merged] zram-report-failed-read-and-write-stats.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 08 Apr 2014 14:03:25 -0700
The patch titled
Subject: zram: report failed read and write stats
has been removed from the -mm tree. Its filename was
zram-report-failed-read-and-write-stats.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Sergey Senozhatsky <[email protected]>
Subject: zram: report failed read and write stats
zram accounted but did not report numbers of failed read and write queries. make these stats available as failed_reads and failed_writes attrs.
---
drivers/block/zram/zram_drv.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/block/zram/zram_drv.c renamed from drivers/block/zram/zram_drv.c~zram-report-failed-read-and-write-stats +4 -0
@@ -730,6 +730,8 @@ static DEVICE_ATTR(mem_used_total, S_IRUZRAM_ATTR_RO (num_reads);ZRAM_ATTR_RO (num_writes); +ZRAM_ATTR_RO (failed_reads); +ZRAM_ATTR_RO (failed_writes);ZRAM_ATTR_RO (invalid_io);ZRAM_ATTR_RO (notify_free);ZRAM_ATTR_RO (zero_pages);
@@ -741,6 +743,8 @@ static struct attribute *zram_disk_attrs &dev_attr_reset.attr, &dev_attr_num_reads.attr, &dev_attr_num_writes.attr, + &dev_attr_failed_reads.attr, + &dev_attr_failed_writes.attr, &dev_attr_invalid_io.attr, &dev_attr_notify_free.attr, &dev_attr_zero_pages.attr,
_
Patches currently in -mm which might be from [email protected] are
origin.patch