- io-accounting-read-accounting-nfs-fix-fix.patch removed from -mm tree

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

 



The patch titled
     io accounting minor fix
has been removed from the -mm tree.  Its filename was
     io-accounting-read-accounting-nfs-fix-fix.patch

This patch was dropped because it was folded into io-accounting-read-accounting-nfs-fix.patch

------------------------------------------------------
Subject: io accounting minor fix
From: Fengguang Wu <fengguang.wu@xxxxxxxxx>

Account only successful nfs/fuse reads.

Signed-off-by: Fengguang Wu <wfg@xxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 mm/readahead.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN mm/readahead.c~io-accounting-read-accounting-nfs-fix-fix mm/readahead.c
--- a/mm/readahead.c~io-accounting-read-accounting-nfs-fix-fix
+++ a/mm/readahead.c
@@ -145,7 +145,6 @@ int read_cache_pages(struct address_spac
 			page_cache_release(page);
 			continue;
 		}
-		task_io_account_read(PAGE_CACHE_SIZE);
 		ret = filler(data, page);
 		if (!pagevec_add(&lru_pvec, page))
 			__pagevec_lru_add(&lru_pvec);
@@ -153,6 +152,7 @@ int read_cache_pages(struct address_spac
 			put_pages_list(pages);
 			break;
 		}
+		task_io_account_read(PAGE_CACHE_SIZE);
 	}
 	pagevec_lru_add(&lru_pvec);
 	return ret;
_

Patches currently in -mm which might be from fengguang.wu@xxxxxxxxx are

io-accounting-read-accounting-nfs-fix.patch
io-accounting-read-accounting-nfs-fix-fix.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux