Commit Graph

  • 6bcdca3cf9 Update dirent last pos and update first comment Zach Brown 2017-02-10 09:56:45 -08:00
  • 00fed84c68 Build statfs f_blocks from total_segs Zach Brown 2017-02-10 09:55:11 -08:00
  • 02af35a98e Convert inode since ioctl to the item API Zach Brown 2017-02-10 09:26:55 -08:00
  • 429e1b6eb4 Truncate data items Zach Brown 2017-02-10 09:15:27 -08:00
  • 92b10e8270 Write super with bio functions Zach Brown 2017-02-10 08:44:14 -08:00
  • 75b018a0e7 Add symlinks back Zach Brown 2017-02-09 16:14:09 -08:00
  • 54e07470f1 Update xattrs to use the item cache Zach Brown 2017-02-09 15:38:45 -08:00
  • 64bc145e3c Add scoutfs_item_set_batch() Zach Brown 2017-02-09 14:54:49 -08:00
  • a310027380 Remove the find xattr ioctls Zach Brown 2017-02-09 14:38:39 -08:00
  • fff6fb4740 Restore link backref items Zach Brown 2017-02-03 14:23:15 -08:00
  • 8def9141bc Add scoutfs_key_init_buf_len() Zach Brown 2017-02-03 14:21:57 -08:00
  • 6516ce7d57 Report free blocks in statfs Zach Brown 2017-02-01 13:56:57 -08:00
  • 9f5e42f7dd Add simple data items Zach Brown 2017-02-01 10:53:30 -08:00
  • 1ad479a1af Add ephemeral items Zach Brown 2017-02-01 10:02:27 -08:00
  • c3307e941b Add scoutfs_item_forget() Zach Brown 2017-02-01 10:01:28 -08:00
  • 9f885b4c12 Fix item erase augmentation Zach Brown 2017-02-01 09:48:09 -08:00
  • 568cefa4db Add some item debugging tracing to seg writing Zach Brown 2017-02-01 09:46:31 -08:00
  • 7045e3a6e8 More efficiently destroy item rbtrees Zach Brown 2017-02-01 09:40:23 -08:00
  • 0298cbb562 Fix compact cleanup on mount failure Zach Brown 2017-02-01 10:49:49 -08:00
  • 67aec72c77 Add readdir items Zach Brown 2017-01-25 11:12:22 -08:00
  • 9a293bfa75 Add item delete dirty and many interfaces Zach Brown 2017-01-25 11:08:43 -08:00
  • f139cf4a5e Convert unlink and orphan processing Zach Brown 2017-01-24 14:47:31 -08:00
  • 9d6d70bd89 Add an item next for key len ignoring val Zach Brown 2017-01-24 14:46:04 -08:00
  • 9d68e272cc Allow creation of items with no value Zach Brown 2017-01-24 14:44:11 -08:00
  • 8f63196318 Add key inc/dec variants for partial keys Zach Brown 2017-01-24 14:42:56 -08:00
  • 2ac239a4cb Add deletion items Zach Brown 2017-01-23 17:54:18 -08:00
  • cfc6d72263 Remove item off and len packing Zach Brown 2017-01-20 13:53:43 -08:00
  • 685eb1f2dc Fix segment block item alignemnt build bug Zach Brown 2017-01-20 13:52:46 -08:00
  • 736d5765fc Add a shrinker for the segment cache Zach Brown 2017-01-19 20:46:52 -08:00
  • 2bc1617280 Use contiguous key struct instead of kvecs Zach Brown 2017-01-19 13:30:04 -08:00
  • 8a302609f2 Add some item cache/range counters Zach Brown 2017-01-16 14:46:37 -08:00
  • 822ce205c5 Let compaction skip segments as needed Zach Brown 2017-01-16 14:06:17 -08:00
  • 519b9c35c4 Correcly wrap when finding compaction entries Zach Brown 2017-01-16 14:03:33 -08:00
  • 930f541c7b Add a scoutfs_seg_get Zach Brown 2017-01-16 10:38:39 -08:00
  • 3407576ced Don't use bio size in end_io Zach Brown 2017-01-12 16:00:55 -08:00
  • 963b04701f Add some bio tracing Zach Brown 2017-01-12 15:40:46 -08:00
  • 0a5fb7fd83 Add some counters Zach Brown 2017-01-12 15:38:28 -08:00
  • ded184b481 Add a pile of tracing printks Zach Brown 2017-01-12 11:36:10 -08:00
  • 3f812fa9a7 More thoroughly integrate compaction Zach Brown 2017-01-12 11:35:55 -08:00
  • aad5a34290 Don't prematurely write dirty super Zach Brown 2017-01-12 11:17:46 -08:00
  • a333c507fb Fix how dirty treap is tracked Zach Brown 2017-01-12 11:02:41 -08:00
  • 30b088377f Fix setting trans_task Zach Brown 2017-01-12 10:59:19 -08:00
  • c21dc4ec20 Refactor level_count and protect with seqcount Zach Brown 2017-01-11 14:13:56 -08:00
  • 2083793ae0 Add first pass at segment compaction Zach Brown 2017-01-09 15:06:06 -08:00
  • a45661e5b6 Add _prev version of treap lookup and iteration Zach Brown 2017-01-09 14:34:14 -08:00
  • 2522509ec8 Fix scoutfs_treap_next() parent walk comparision Zach Brown 2017-01-09 14:31:55 -08:00
  • 80da7fefa7 fix treap deletion Zach Brown 2017-01-09 14:28:11 -08:00
  • e5e7a25ecd Don't use null node when repairing aug Zach Brown 2017-01-09 14:25:31 -08:00
  • cd6cd000ce Add ifdefed out quick treap printer Zach Brown 2017-01-09 14:24:51 -08:00
  • eb94092f2f Add kvec big endian inc and dec Zach Brown 2017-01-09 14:13:20 -08:00
  • a15d37783e Set read node parent through ref Zach Brown 2017-01-03 15:56:53 -08:00
  • 157b9294fa Be sure not to overfill a segment with items Zach Brown 2017-01-02 11:59:37 -08:00
  • be497f3fcf Make sure to bubble the node aug bits up the treap Zach Brown 2017-01-02 10:33:02 -08:00
  • 3333d89f82 Assign next seg seq from super Zach Brown 2017-01-02 09:03:19 -08:00
  • db9f2be728 Switch to indexed manifest using treap ring Zach Brown 2016-12-29 16:06:12 -08:00
  • 3dfe8e10df Add little cmp u64 helper Zach Brown 2016-12-29 16:01:51 -08:00
  • b8d7e04262 Add negative caching of item ranges Zach Brown 2016-12-15 16:28:58 -08:00
  • cbb4282429 Add kvec key helpers Zach Brown 2016-12-15 15:01:44 -08:00
  • 57a6ff087f Add max key and max key size to format Zach Brown 2016-12-15 14:57:38 -08:00
  • 1b4bab3217 Fix ring read nr/part confusion Zach Brown 2016-12-08 23:43:54 -08:00
  • c8d61c2e01 Manifest item reading tracked wrong key Zach Brown 2016-12-08 23:43:10 -08:00
  • c74787a848 Harden, simplify, and shrink the kvecs Zach Brown 2016-12-08 23:40:48 -08:00
  • 51a84447dd Fix calculation of number of dirty segments Zach Brown 2016-12-08 23:39:41 -08:00
  • acee97ba2a Fix tail ring entry zeroing Zach Brown 2016-12-08 23:37:31 -08:00
  • 967e90e5ef Fix kvec overlapping comparison Zach Brown 2016-12-08 23:35:52 -08:00
  • b251f91842 Fix updating parent dirty bits Zach Brown 2016-12-08 23:33:05 -08:00
  • b7b43de8c7 Queue trans work in our work queue Zach Brown 2016-12-08 23:30:51 -08:00
  • a5cac107a1 Set END_IO on allocated segs Zach Brown 2016-12-08 13:14:45 -08:00
  • f9ca1885f9 Specify ring blocks with index,nr Zach Brown 2016-12-08 11:19:43 -08:00
  • b598bf855d Fix ring appending and writing Zach Brown 2016-12-08 09:41:22 -08:00
  • b8ede1f6ee Fix ring block tail zeroing Zach Brown 2016-12-08 09:39:46 -08:00
  • fd7b09b4e4 Fix written manifest entry length Zach Brown 2016-12-08 09:19:38 -08:00
  • e418629bea Remove items from trees before freeing Zach Brown 2016-12-08 09:17:30 -08:00
  • 454767e992 Stop first dirty search looping Zach Brown 2016-12-08 09:17:06 -08:00
  • a8a6d3697b Fix dirty item counter calculations Zach Brown 2016-12-08 09:14:01 -08:00
  • fbd12b4dda Fix existing item insertion Zach Brown 2016-12-08 09:10:55 -08:00
  • 5eb388ae6e Fix seg item filling Zach Brown 2016-12-08 08:57:59 -08:00
  • 07ba01f6b0 Iniitialize segment header when writing item Zach Brown 2016-12-08 08:53:56 -08:00
  • 48f9be8455 Free key and value in the right order! Zach Brown 2016-12-08 08:51:45 -08:00
  • 9e02573e06 Rename scoutfs_seg_manfest_add Zach Brown 2016-12-08 08:45:24 -08:00
  • 471405f8cd Fix kvec iterators Zach Brown 2016-12-08 08:42:46 -08:00
  • be98c4dfd8 Fix up manifest key use Zach Brown 2016-12-07 10:33:05 -08:00
  • c4954eb6f4 Add initial LSM write implementation Zach Brown 2016-12-07 09:38:31 -08:00
  • b45ec8824b Add a bunch of trace_printk()s Zach Brown 2016-12-03 19:24:29 -08:00
  • 641aae50ed Fix ring block replay Zach Brown 2016-12-03 19:23:40 -08:00
  • 21d313e0f6 Corretly wait on submitted segment reads Zach Brown 2016-12-03 19:21:20 -08:00
  • d1f36e2165 Correctly store last manifest key Zach Brown 2016-12-03 19:20:10 -08:00
  • f3288f27c6 Declare full kvecs in manifest Zach Brown 2016-12-03 19:18:06 -08:00
  • 6957c73aba Have _lookup_exact return 0 Zach Brown 2016-12-03 19:17:20 -08:00
  • 3f27de0b2c Fix hilarious BLOCK_SIZE typo Zach Brown 2016-12-03 19:16:37 -08:00
  • a201cff5ad Read supers with bios instead of bl blocks Zach Brown 2016-12-03 18:09:06 -08:00
  • f7f840a342 Fix bio read completion init Zach Brown 2016-12-03 18:08:43 -08:00
  • 43d0d44e48 Add initial LSM implementation Zach Brown 2016-12-02 20:37:44 -08:00
  • 9d3fe27929 Add data_since command Zach Brown 2016-11-17 20:42:49 -08:00
  • 5fcf70b53e Catch up to kernel's scoutfs_extent Zach Brown 2016-11-17 19:48:05 -08:00
  • 41e3ca0f41 Consistently use __u8 in format.h Zach Brown 2016-11-17 19:47:39 -08:00
  • ec702b9bb3 Update the data_version ioctl to return the u64 Zach Brown 2016-11-17 15:45:05 -08:00
  • c3f122a5f1 Fix mkfs buddy initialization Zach Brown 2016-11-17 15:03:22 -08:00
  • c6b688c2bf Add staging ioctl Zach Brown 2016-11-15 15:45:02 -08:00
  • df561bbd19 Add offline extent flag and release ioctl Zach Brown 2016-11-14 15:43:12 -08:00