Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754002AbbBZBen (ORCPT ); Wed, 25 Feb 2015 20:34:43 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:18192 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752925AbbBZBel (ORCPT ); Wed, 25 Feb 2015 20:34:41 -0500 X-AuditID: cbfee61a-f79c06d000004e71-41-54ee782f0482 From: Chao Yu To: "'Wanpeng Li'" , "'Jaegeuk Kim'" Cc: linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net References: <1424908641-76409-1-git-send-email-wanpeng.li@linux.intel.com> <1424908641-76409-2-git-send-email-wanpeng.li@linux.intel.com> In-reply-to: <1424908641-76409-2-git-send-email-wanpeng.li@linux.intel.com> Subject: RE: [f2fs-dev] [PATCH 2/2] f2fs: fix the number of orphan inode blocks Date: Thu, 26 Feb 2015 09:33:55 +0800 Message-id: <013201d05164$637b7880$2a726980$@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-index: AQDUXxgwpqWCEJSuINSHs7wJ600oAwE6n5RbnvAzj/A= Content-language: zh-cn X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrBLMWRmVeSWpSXmKPExsVy+t9jAV2DinchBj9LLJ6sn8VscWmRu8Xl XXPYLO492cbuwOKxaVUnm8e8k4Eeuxd8ZvL4vEkugCWKyyYlNSezLLVI3y6BK+POl+uMBZ/Z KjZOPsfawHibtYuRk0NCwERidecUdghbTOLCvfVsXYxcHEICixglZv1ezATh/GCUeHzyFRtI FZuAisTyjv9MILaIQLDE56M/WboYOTiYBTwkdh0rBQkLCXQzSsz+zwNicwp4S3Qcns4CYgsL +EvcuHwabBmLgKrEusXLwGxeAUuJDQe+MEPYghI/Jt8Dq2cW0JJYv/M4E4QtL7F5zVtmiEMV JHacfc0IcYKVROOnyVA14hIbj9ximcAoNAvJqFlIRs1CMmoWkpYFjCyrGEVTC5ILipPScw31 ihNzi0vz0vWS83M3MYLD/5nUDsaVDRaHGAU4GJV4eBOy34UIsSaWFVfmHmKU4GBWEuGdngQU 4k1JrKxKLcqPLyrNSS0+xCjNwaIkzqtk3xYiJJCeWJKanZpakFoEk2Xi4JRqYFxpPGWvzRuL 2SovT9ooLK9+KvpV9iTXPyF/TXl5c95XJ8/MZuVVq29p//M3ic3Qd9niNXvunpX7ZjtjT5mX +Y6rr+S8uC9WHVo+O5ez47Cwbex7c/3W672/u1o3pe0P93+nu4jj1cbCwPuGAjG5lWHCAb/3 Fkq/Ozprj9SEy41rrGeWybEcvqnEUpyRaKjFXFScCAC1No78ewIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1105 Lines: 28 Hi Wanpeng, > -----Original Message----- > From: Wanpeng Li [mailto:wanpeng.li@linux.intel.com] > Sent: Thursday, February 26, 2015 7:57 AM > To: Jaegeuk Kim > Cc: Wanpeng Li; linux-kernel@vger.kernel.org; linux-f2fs-devel@lists.sourceforge.net > Subject: [f2fs-dev] [PATCH 2/2] f2fs: fix the number of orphan inode blocks > > cp_pack_start_sum is calculated in do_checkpoint and is equal to > cpu_to_le32(1 + cp_payload_blks + orphan_blocks). The number of > orphan inode blocks is take advantage of by recover_orphan_inodes > to readahead meta pages and recovery inodes. However, current codes > forget to reduce the number of cp payload blocks when calculate > the number of orphan inode blocks. This patch fix it. Nice work! looks good to me. :) > > Signed-off-by: Wanpeng Li Reviewed-by: Chao Yu -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/