Lines Matching full:k
41 * extent [0, 16K), followed by another file extent [16K, 20K), two dio reads
42 * are entering btrfs_get_extent() concurrently, t1 is reading [8K, 16K), t2 is
43 * reading [0, 8K)
48 * -> add_extent_mapping(0, 16K)
50 * ->add_extent_mapping(0, 16K)
67 /* Add [0, 16K) */ in test_case_1()
76 test_err("cannot add extent range [0, 16K)"); in test_case_1()
81 /* Add [16K, 20K) following [0, 16K) */ in test_case_1()
97 test_err("cannot add extent range [16K, 20K)"); in test_case_1()
109 /* Add [0, 8K), should return [0, 16K) instead. */ in test_case_1()
155 /* Add [0, 1K) */ in test_case_2()
164 test_err("cannot add extent range [0, 1K)"); in test_case_2()
169 /* Add [4K, 8K) following [0, 1K) */ in test_case_2()
185 test_err("cannot add extent range [4K, 8K)"); in test_case_2()
197 /* Add [0, 1K) */ in test_case_2()
206 test_err("case2 [0 1K]: ret %d", ret); in test_case_2()
213 "case2 [0 1K]: ret %d return a wrong em (start %llu len %llu block_start %llu block_len %llu", in test_case_2()
238 /* Add [4K, 8K) */ in __test_case_3()
247 test_err("cannot add extent range [4K, 8K)"); in __test_case_3()
259 /* Add [0, 16K) */ in __test_case_3()
296 * There is a file extent [0, 16K), two jobs are running concurrently
297 * against it, t1 is buffered writing to [4K, 8K) and t2 is doing dio
298 * read from [0, 4K) or [8K, 12K) or [12K, 16K).
300 * t1 goes ahead of t2 and adds em [4K, 8K) into tree.
337 /* Add [0K, 8K) */ in __test_case_4()
346 test_err("cannot add extent range [0, 8K)"); in __test_case_4()
358 /* Add [8K, 32K) */ in __test_case_4()
367 test_err("cannot add extent range [8K, 32K)"); in __test_case_4()
378 /* Add [0K, 32K) */ in __test_case_4()
409 * There is a file extent [0, 32K), two jobs are running concurrently
410 * against it, t1 is doing dio write to [8K, 32K) and t2 is doing dio
411 * read from [0, 4K) or [4K, 8K).
413 * t1 goes ahead of t2 and splits em [0, 32K) to em [0K, 8K) and [8K 32K).
420 * # load [0, 32K)
423 * # split [0, 32K)
425 * # add [8K, 32K)
428 * # [0, 32K)