{"push_id":2801763598,"size":11,"distinct_size":11,"ref":"refs/heads/xfs-64k-blk-fixes","head":"c9d0061e57f1d42d8110f3ce2590234e52a9f5da","before":"9d27b290da14dbc700c862d81b01ae47e15dd7b6","commits":[{"sha":"1be53c2b019c224dcd97b3deeec0ff58d6743935","author":{"name":"Chandan Rajendra","email":"5b09eece4a5b11d5d0125c0f7eca424d593874ed@linux.vnet.ibm.com"},"message":"Fix xfs/190 to work with 64k block size\n\nThis commit describes \"file hole\" ranges in multiples of block sizes\nrather than using constants.\n\nSigned-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>","distinct":true,"url":"https://api.github.com/repos/chandanr/xfstests/commits/1be53c2b019c224dcd97b3deeec0ff58d6743935"},{"sha":"ff3f3c7343d83d8a4899246c3b92da310d11f6c5","author":{"name":"Chandan Rajendra","email":"5b09eece4a5b11d5d0125c0f7eca424d593874ed@linux.vnet.ibm.com"},"message":"Fix xfs/299 to work with 64k block size\n\nThis commit changes the test to calculate quota limits based on the\nblock size of the underlying filesystem. Also, the sizes of the test\nfiles are now made to be a multiple of the filesystem block size.\n\nSigned-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>","distinct":true,"url":"https://api.github.com/repos/chandanr/xfstests/commits/ff3f3c7343d83d8a4899246c3b92da310d11f6c5"},{"sha":"a46c3262df829dc3c671a4a2a6045c0dc2081e29","author":{"name":"Chandan Rajendra","email":"5b09eece4a5b11d5d0125c0f7eca424d593874ed@linux.vnet.ibm.com"},"message":"xfs/325: Inject free_extent error after CoW operation\n\nOn a 64k blocksized filesystem, when the test CoWs the file2's offset\nrange [10 * 64k, 19 * 64k], the call to xfs_bmapi_reserve_delalloc()\nallocates 32 64k blocks. This is because XFS_DEFAULT_COWEXTSZ_HINT has\nthe value of 32 and xfs_get_cowextsz_hint() uses this to compute the\nextent alignment. This leads to xfs_bmapi_reserve_delalloc() to reserve\nspace corresponding to the file range [0, 32 * 64k] in the inode's\ncow fork area. On completion of write I/O corresponding to file2's range\n[10 * 64k, 19 * 64k], xfs_end_io() moves 10 out of the originally\nallocated 32 64k blocks to the data fork area. The remaining 22 64k\nblocks linger on in cow fork area of the inode.\n\nLater, when servicing the exit() syscall for the xfs_io process,\nxfs_free_eofblocks() ends up invoking xfs_reflink_cancel_cow_blocks()\nsince i_delayed_blks has the value 22. xfs_reflink_cancel_cow_blocks()\nindirectly invokes __xfs_free_extent() which returns EIO since\nXFS_ERRTAG_FREE_EXTENT has been set. This leads to the filesystem to be\nshutdown. The \"rm\" command invoked later ends up returning an\nerror and hence the test fails. The test actually requires that the\nfilesystem gets shutdown when executing the \"rm\" command.\n\nTo fix the problem, this commit injects the free_extent error after we\nCoW file2's [10 * 64k, 19 * 64k] range.\n\nSigned-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>","distinct":true,"url":"https://api.github.com/repos/chandanr/xfstests/commits/a46c3262df829dc3c671a4a2a6045c0dc2081e29"},{"sha":"ef6c4efad858c986787690d02fcd2647f9416a72","author":{"name":"Chandan Rajendra","email":"5b09eece4a5b11d5d0125c0f7eca424d593874ed@linux.vnet.ibm.com"},"message":"Fix generic/102 to work with 64k block size\n\nWith 64k block size, mkfs.xfs fails with the following message when the\nfilesystem size is 512MiB in size,\n\n\"log size 2037 blocks too small, minimum size is 2473 blocks\"\n\nHence this commit increases the test filesystem size to 1GiB. Also, the\nsize of the test file is increased to 800MiB which is ~80% of the test\nfilesystem size. This is in proportion to the 400MiB test file used with\nthe original 512MiB test filesystem.\n\nSigned-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>","distinct":true,"url":"https://api.github.com/repos/chandanr/xfstests/commits/ef6c4efad858c986787690d02fcd2647f9416a72"},{"sha":"36ba8d6bd76c20e537dff8b7ba37277a9a123635","author":{"name":"Chandan Rajendra","email":"5b09eece4a5b11d5d0125c0f7eca424d593874ed@linux.vnet.ibm.com"},"message":"Fix generic/172 to work with 64k block size\n\nFor 64k block size, With 256MiB as the XFS filesystem size and 168 MiB\nas the size of the clone source file, we end up hitting ENOSPC when\ncloning the source file. This happens due to lack of space for housing\nthe corresponding metadata. This scenario also occurs when using a\n512MiB XFS filesystem and 300MiB clone source file.\n\nHence this commit increases the size of the test filesystem to 1 GiB and\nthe size of the clone source file to 768MiB.\n\nSigned-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>","distinct":true,"url":"https://api.github.com/repos/chandanr/xfstests/commits/36ba8d6bd76c20e537dff8b7ba37277a9a123635"},{"sha":"51b3bba32f037c981e81085ef081d285814e5746","author":{"name":"Chandan Rajendra","email":"5b09eece4a5b11d5d0125c0f7eca424d593874ed@linux.vnet.ibm.com"},"message":"Filter fiemap output by FS block size\n\nWhen testing FS instances of block size other than 4k, the output of\nfiemap command will not match those in *.out files. This commit adds\nan optional \"block size\" argument to _filter_fiemap() which prints\nfiemap output in units of block size.\n\nSigned-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>","distinct":true,"url":"https://api.github.com/repos/chandanr/xfstests/commits/51b3bba32f037c981e81085ef081d285814e5746"},{"sha":"060547f28ab48ba36e1ec4ec1646c73833b93e20","author":{"name":"Chandan Rajendra","email":"5b09eece4a5b11d5d0125c0f7eca424d593874ed@linux.vnet.ibm.com"},"message":"Fix generic/177 to work with 64k block size\n\nThis commit changes the test to work on file offsets that are aligned\nwith the block size of the underlying filesystem.\n\nSigned-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>","distinct":true,"url":"https://api.github.com/repos/chandanr/xfstests/commits/060547f28ab48ba36e1ec4ec1646c73833b93e20"},{"sha":"156c38f7a77edab0a84f63c804a4b4666e33f9f0","author":{"name":"Chandan Rajendra","email":"5b09eece4a5b11d5d0125c0f7eca424d593874ed@linux.vnet.ibm.com"},"message":"Fix generic/230 to work with 64k block size\n\nThis commit changes the test to work on file offsets that are aligned\nwith the block size of the underlying filesystem.\n\nSigned-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>","distinct":true,"url":"https://api.github.com/repos/chandanr/xfstests/commits/156c38f7a77edab0a84f63c804a4b4666e33f9f0"},{"sha":"c01487ad2b331ccb43b4e32dd08a79d95eccaf0c","author":{"name":"Chandan Rajendra","email":"5b09eece4a5b11d5d0125c0f7eca424d593874ed@linux.vnet.ibm.com"},"message":"Fix generic/235 to work with 64k block size\n\nWith 64k blocksized filesystem, this test fails since a single 8k write\nwill actually end up consuming 64k. Hence this commit writes 64k data\ninto the test file.\n\nSigned-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>","distinct":true,"url":"https://api.github.com/repos/chandanr/xfstests/commits/c01487ad2b331ccb43b4e32dd08a79d95eccaf0c"},{"sha":"8f1d719a4820d64f3f089764de4e1502b5d64d62","author":{"name":"Chandan Rajendra","email":"5b09eece4a5b11d5d0125c0f7eca424d593874ed@linux.vnet.ibm.com"},"message":"generic/305\n\nSigned-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>","distinct":true,"url":"https://api.github.com/repos/chandanr/xfstests/commits/8f1d719a4820d64f3f089764de4e1502b5d64d62"},{"sha":"c9d0061e57f1d42d8110f3ce2590234e52a9f5da","author":{"name":"Chandan Rajendra","email":"5b09eece4a5b11d5d0125c0f7eca424d593874ed@linux.vnet.ibm.com"},"message":"Same fix as generic/305\n\nSigned-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>","distinct":true,"url":"https://api.github.com/repos/chandanr/xfstests/commits/c9d0061e57f1d42d8110f3ce2590234e52a9f5da"}]}
{"actor":{"display_login":"chandanr"}}