{"push_id":1494783552,"size":75,"distinct_size":75,"ref":"refs/heads/cm-14.1","head":"165669baf9ef7dee881bed45cb0e0ea4d673ddcf","before":"cbb51a72dbea8091cdeb50252243a7fc3c585d25","commits":[{"sha":"501c66be81885a90ac745e04e922d2cac89bddbd","author":{"name":"Jaegeuk Kim","email":"c9e6543abf9bc130570115f8ac41a9d9b583b810@kernel.org"},"message":"posix_acl: Clear SGID bit when setting file permissions\n\nCherry-pick to f2fs only for generic/375 from:\n\n(073931017: posix_acl: Clear SGID bit when setting file permissions)\n\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/najdek/android_kernel_xiaomi_msm8996/commits/501c66be81885a90ac745e04e922d2cac89bddbd"},{"sha":"aec04828b9350e1beb61c965789c9b5a829b8cbe","author":{"name":"Jaegeuk Kim","email":"c9e6543abf9bc130570115f8ac41a9d9b583b810@kernel.org"},"message":"f2fs: fix overflow due to condition check order\n\nIn the last ilen case, i was already increased, resulting in accessing out-\nof-boundary entry of do_replace and blkaddr.\nFix to check ilen first to exit the loop.\n\nFixes: 2aa8fbb9693020 (\"f2fs: refactor __exchange_data_block for speed up\")\nCc: stable@vger.kernel.org # 4.8+\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/najdek/android_kernel_xiaomi_msm8996/commits/aec04828b9350e1beb61c965789c9b5a829b8cbe"},{"sha":"e5fa8a0c03f009102523074d3eead9d49f061470","author":{"name":"Jaegeuk Kim","email":"c9e6543abf9bc130570115f8ac41a9d9b583b810@kernel.org"},"message":"f2fs: fix to determine start_cp_addr by sbi->cur_cp_pack\n\nWe don't guarantee cp_addr is fixed by cp_version.\nThis is to sync with f2fs-tools.\n\nCc: stable@vger.kernel.org\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/najdek/android_kernel_xiaomi_msm8996/commits/e5fa8a0c03f009102523074d3eead9d49f061470"},{"sha":"35a4333a627c90eeb70c0ed1ba39afe2b8845fda","author":{"name":"Jaegeuk Kim","email":"c9e6543abf9bc130570115f8ac41a9d9b583b810@kernel.org"},"message":"f2fs: fix missing read/write function pointers\n\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/najdek/android_kernel_xiaomi_msm8996/commits/35a4333a627c90eeb70c0ed1ba39afe2b8845fda"},{"sha":"0b08741a536cc9ea7495a3db70115279e9f721cd","author":{"name":"Chao Yu","email":"7390b2c96c78abe47d370032752094fadd04c91d@huawei.com"},"message":"f2fs: exclude free nids building and allocation\n\nDuring nid allocation, it needs to exclude building and allocating flow\nof free nids, this is because while building free nid cache, there are two\nsteps: a) load free nids from unused nat entries in NAT pages, b) update\nfree nid cache by checking nat journal. The two steps should be atomical,\notherwise an used nid can be allocated as free one after a) and before b).\n\nThis patch adds missing lock which covers build_free_nids in\nunlock_operation and f2fs_balance_fs_bg to avoid that.\n\nSigned-off-by: Chao Yu <yuchao0@huawei.com>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/najdek/android_kernel_xiaomi_msm8996/commits/0b08741a536cc9ea7495a3db70115279e9f721cd"},{"sha":"e50b0845c86435f26b7947677caa4af2e37f965d","author":{"name":"Chao Yu","email":"7390b2c96c78abe47d370032752094fadd04c91d@huawei.com"},"message":"f2fs: fix to release discard entries during checkpoint\n\nIn f2fs_fill_super, if there is any IO error occurs during recovery,\ncached discard entries will be leaked, in order to avoid this, make\nwrite_checkpoint() handle memory release by itself, besides, move\nclear_prefree_segments to write_checkpoint for readability.\n\nSigned-off-by: Chao Yu <yuchao0@huawei.com>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>\n\n Conflicts:\n\tfs/f2fs/checkpoint.c","distinct":true,"url":"https://api.github.com/repos/najdek/android_kernel_xiaomi_msm8996/commits/e50b0845c86435f26b7947677caa4af2e37f965d"},{"sha":"a6348b5c313e188e40c0d3837067b537d25ea142","author":{"name":"Chao Yu","email":"7390b2c96c78abe47d370032752094fadd04c91d@huawei.com"},"message":"f2fs: give a chance to detach from dirty list\n\nIf there is no dirty pages in inode, we should give a chance to detach\nthe inode from global dirty list, otherwise it needs to call another\nunnecessary .writepages for detaching.\n\nSigned-off-by: Chao Yu <yuchao0@huawei.com>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/najdek/android_kernel_xiaomi_msm8996/commits/a6348b5c313e188e40c0d3837067b537d25ea142"},{"sha":"9089a2b6590ba4044cb9157edf19606b8a67edf7","author":{"name":"Chao Yu","email":"7390b2c96c78abe47d370032752094fadd04c91d@huawei.com"},"message":"f2fs: add missing f2fs_balance_fs in f2fs_zero_range\n\nf2fs_balance_fs should be called in between node page updating, otherwise\nnode page count will exceeded far beyond watermark of triggering\nforeground garbage collection, result in facing high risk of hitting LFS\nallocation failure.\n\nSigned-off-by: Chao Yu <yuchao0@huawei.com>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/najdek/android_kernel_xiaomi_msm8996/commits/9089a2b6590ba4044cb9157edf19606b8a67edf7"},{"sha":"f14997f33f8cd2671653bb3ee81c7fde5a9550c3","author":{"name":"Chao Yu","email":"7390b2c96c78abe47d370032752094fadd04c91d@huawei.com"},"message":"f2fs: don't miss any f2fs_balance_fs cases\n\nIn f2fs_map_blocks, let f2fs_balance_fs detects node page modification\nwith dn.node_changed to avoid miss some corner cases.\n\nSigned-off-by: Chao Yu <yuchao0@huawei.com>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/najdek/android_kernel_xiaomi_msm8996/commits/f14997f33f8cd2671653bb3ee81c7fde5a9550c3"},{"sha":"2c4e3bc4387fdb57e9a3ead5110ca0e6500b697d","author":{"name":"Chao Yu","email":"7390b2c96c78abe47d370032752094fadd04c91d@huawei.com"},"message":"f2fs: be aware of extent beyond EOF in fiemap\n\nf2fs can support fallocating blocks beyond file size without changing the\nsize, but ->fiemap of f2fs was restricted and can't detect these extents\nfallocated past EOF, now relieve the restriction.\n\nSigned-off-by: Chao Yu <yuchao0@huawei.com>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/najdek/android_kernel_xiaomi_msm8996/commits/2c4e3bc4387fdb57e9a3ead5110ca0e6500b697d"},{"sha":"732845814adeb916abd44e9c6900c9af8efd472c","author":{"name":"Chao Yu","email":"7390b2c96c78abe47d370032752094fadd04c91d@huawei.com"},"message":"f2fs: fix to update largest extent under lock\n\nIn order to avoid racing problem, make largest extent cache being updated\nunder lock.\n\nSigned-off-by: Chao Yu <yuchao0@huawei.com>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/najdek/android_kernel_xiaomi_msm8996/commits/732845814adeb916abd44e9c6900c9af8efd472c"},{"sha":"cb703089b34a417db0dca8d7316182cae168a8bc","author":{"name":"Chao Yu","email":"7390b2c96c78abe47d370032752094fadd04c91d@huawei.com"},"message":"f2fs: fix error handling in fsync_node_pages\n\nIn fsync_node_pages, if f2fs was taged with CP_ERROR_FLAG, make sure bio\ncache was flushed before return.\n\nSigned-off-by: Chao Yu <yuchao0@huawei.com>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/najdek/android_kernel_xiaomi_msm8996/commits/cb703089b34a417db0dca8d7316182cae168a8bc"},{"sha":"ed7fa97b2d27712e4c39c648b78693d4133304d9","author":{"name":"Eric Biggers","email":"0106d512ed1cb672be29d4b167a07ead51709fba@google.com"},"message":"f2fs: fix sparse warnings\n\nf2fs contained a number of endianness conversion bugs.\n\nAlso, one function should have been 'static'.\n\nFound with sparse by running 'make C=2 CF=-D__CHECK_ENDIAN__ fs/f2fs/'\n\nSigned-off-by: Eric Biggers <ebiggers@google.com>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>\n\n Conflicts:\n\tfs/f2fs/segment.c","distinct":true,"url":"https://api.github.com/repos/najdek/android_kernel_xiaomi_msm8996/commits/ed7fa97b2d27712e4c39c648b78693d4133304d9"},{"sha":"44643dfe42c46ad8bf5245f57a1f628258c221bf","author":{"name":"Chao Yu","email":"7390b2c96c78abe47d370032752094fadd04c91d@huawei.com"},"message":"f2fs: clear nlink if fail to add_link\n\nWe don't need to keep incomplete created inode in cache, so if we fail to\nadd link into directory during new inode creation, it's better to set\nnlink of inode to zero, then we can evict inode immediately. Otherwise\nrelease of nid belong to inode will be delayed until inode cache is being\nshrunk, it may cause a seemingly endless loop while allocating free nids\nin time of testing generic/269 case of fstest suit.\n\nSigned-off-by: Chao Yu <yuchao0@huawei.com>\n[Jaegeuk Kim: add update_inode_page to fix kernel panic]\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/najdek/android_kernel_xiaomi_msm8996/commits/44643dfe42c46ad8bf5245f57a1f628258c221bf"},{"sha":"c59cddc0d99688cee3878b01eb6283604d9eefb9","author":{"name":"Chao Yu","email":"7390b2c96c78abe47d370032752094fadd04c91d@huawei.com"},"message":"f2fs: split free nid list\n\nDuring free nid allocation, in order to do preallocation, we will tag free\nnid entry as allocated one and still leave it in free nid list, for other\nallocators who want to grab free nids, it needs to traverse the free nid\nlist for lookup. It becomes overhead in scenario of allocating free nid\nintensively by multithreads.\n\nThis patch splits free nid list to two list: {free,alloc}_nid_list, to\nkeep free nids and preallocated free nids separately, after that, traverse\nlatency will be gone, besides split nid_cnt for separate statistic.\n\nAdditionally, introduce __insert_nid_to_list and __remove_nid_from_list for\ncleanup.\n\nSigned-off-by: Chao Yu <yuchao0@huawei.com>\n[Jaegeuk Kim: modify f2fs_bug_on to avoid needless branches]\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/najdek/android_kernel_xiaomi_msm8996/commits/c59cddc0d99688cee3878b01eb6283604d9eefb9"},{"sha":"c4623aae20a25bf0678890eb4d1272781f421f5c","author":{"name":"Jaegeuk Kim","email":"c9e6543abf9bc130570115f8ac41a9d9b583b810@kernel.org"},"message":"f2fs: clean up free nid list operations\n\nThis patch cleans up to use consistent free nid list ops.\n\nReviewed-by: Chao Yu <yuchao0@huawei.com>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/najdek/android_kernel_xiaomi_msm8996/commits/c4623aae20a25bf0678890eb4d1272781f421f5c"},{"sha":"08de3129a4f50f878d8b0fa2867c2d97f05aa09b","author":{"name":"Chao Yu","email":"7390b2c96c78abe47d370032752094fadd04c91d@huawei.com"},"message":"f2fs: don't interrupt free nids building during nid allocation\n\nLet build_free_nids support sync/async methods, in allocation flow of nids,\nwe use synchronuous method, so that we can avoid looping in alloc_nid when\nfree memory is low; in unblock_operations and f2fs_balance_fs_bg we use\nasynchronuous method in where low memory condition can interrupt us.\n\nSigned-off-by: Chao Yu <yuchao0@huawei.com>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/najdek/android_kernel_xiaomi_msm8996/commits/08de3129a4f50f878d8b0fa2867c2d97f05aa09b"},{"sha":"d3eaa75b220bed4da94e3a9919bbd5b0a92a6d58","author":{"name":"Chao Yu","email":"7390b2c96c78abe47d370032752094fadd04c91d@huawei.com"},"message":"f2fs: avoid casted negative value as shrink count\n\nThis patch makes sure it returns a positive value instead of a probable\ncasted negative value as shrink count.\n\nSigned-off-by: Chao Yu <yuchao0@huawei.com>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/najdek/android_kernel_xiaomi_msm8996/commits/d3eaa75b220bed4da94e3a9919bbd5b0a92a6d58"},{"sha":"91e2909f3f2be16a4ed39349569be9f067ee0d9d","author":{"name":"Jaegeuk Kim","email":"c9e6543abf9bc130570115f8ac41a9d9b583b810@kernel.org"},"message":"f2fs: count dirty inodes to flush node pages during checkpoint\n\nIf there are a lot of dirty inodes, we need to flush all of them when doing\ncheckpoint. So, we need to count this for enough free space.\n\nReviewed-by: Chao Yu <yuchao0@huawei.com>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/najdek/android_kernel_xiaomi_msm8996/commits/91e2909f3f2be16a4ed39349569be9f067ee0d9d"},{"sha":"c2ed051b4168784d91ec1662d5ed0cfcc636e7e7","author":{"name":"Jaegeuk Kim","email":"c9e6543abf9bc130570115f8ac41a9d9b583b810@kernel.org"},"message":"f2fs: call f2fs_balance_fs for setattr\n\nIf inode becomes dirty, we need to check the # of dirty inodes whether or not\nfurther checkpoint would be required.\n\nReviewed-by: Chao Yu <yuchao0@huawei.com>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/najdek/android_kernel_xiaomi_msm8996/commits/c2ed051b4168784d91ec1662d5ed0cfcc636e7e7"}]}
{"actor":{"display_login":"najdek"}}