GitHub PushEvent at 2014-12-10 15:07:31
Repository: linux
Actor: intelfx
Payload: {"shas":[["d6d13b9b72bc0ed42e4807698fb602a877b4ef05","316d56302477b3bc2e60f540e1afc2340aebf118@gmail.com","reiser4: block_alloc: move block accounting by pre-commit hook into block_alloc.c and document BA_DEFER behavior.\n\nBA_DEFER deallocations ignore target_stage and other flags and use some implied\nvalues for these parameters. Document these values and where they do matter.\n\nAlso move deallocated block accounting into block_alloc.c because\n1) it is allocator-independent;\n2) it allows discard code to rely on that accounting is done in pre-commit hook and\n   not later, so that discard code should not use BA_PERMANENT in its allocations.\n\nSigned-off-by: Ivan Shapovalov <intelfx100@gmail.com>","Ivan Shapovalov",true],["35be5a3ad0c5c761d3b666c720f9915462bed52e","316d56302477b3bc2e60f540e1afc2340aebf118@gmail.com","reiser4: txnmgr: free allocated but unneeded atom in atom_begin_and_assign_to_txnh().\n\nIt is unclear why it hasn't been done before, as there was a\ncorresponding notice, and such change apparently does not carry any side\neffects.\n\nDo this to avoid duplicating code in the next commit.\n\nSigned-off-by: Ivan Shapovalov <intelfx100@gmail.com>","Ivan Shapovalov",true],["34bb0fe7e1eec8fe53ac45f4750312ffefeafc3c","316d56302477b3bc2e60f540e1afc2340aebf118@gmail.com","reiser4: txnmgr: add reiser4_create_atom() which creates an empty atom without capturing any nodes.\n\nSigned-off-by: Ivan Shapovalov <intelfx100@gmail.com>","Ivan Shapovalov",true],["92484f261f0fd6e5cf050ee94ff64be1e8d5cc3c","316d56302477b3bc2e60f540e1afc2340aebf118@gmail.com","reiser4: txnmgr: move \"empty atom\" shortcut slightly below.\n\nreiser4_trim_fs() generate empty (atom->capture_count == 0) atoms which\nstill have non-empty delete sets. That is, such atoms take a \"goto done\"\nshortcut in commit_current_atom().\n\nFirst, this shortcut must not preclude calling current_atom_complete_writes()\nto process and detach atom's flush queues (otherwise atom_isclean() will\nreturn false).\n\nSecond, reiser4_post_write_back_hook() needs to be called explicitly\nto process atom's delete sets.\n\nSigned-off-by: Ivan Shapovalov <intelfx100@gmail.com>","Ivan Shapovalov",true],["4880b441bd1493fa8c28b93775314682ff7b774d","316d56302477b3bc2e60f540e1afc2340aebf118@gmail.com","reiser4: batch discard support: add a dummy FITRIM ioctl handler for directories.\n\nSigned-off-by: Ivan Shapovalov <intelfx100@gmail.com>","Ivan Shapovalov",true],["fbad3423145a1e5770e00460f3a019888f9e36ad","316d56302477b3bc2e60f540e1afc2340aebf118@gmail.com","reiser4: batch discard support: actually implement the FITRIM ioctl handler.\n\nIt works in an iterative way, grabbing some fixed amount of space and allocating\nblocks until grabbed space is exhausted or partition's end is reached.\n\nBlocks are scheduled for discard by allocating them and immediately adding them\nto the atom's delete set, which is read and processed at atom commit time.\n\nAfter reaching the allocation stop condition, the atom is force-committed and,\nif the allocation has been stopped due to grabbed space exhaustion (not due to\nreaching end of partition), another iteration happens.\n\nSigned-off-by: Ivan Shapovalov <intelfx100@gmail.com>","Ivan Shapovalov",true],["6ef1c70f1e22899c7e2433993a3130132eb79bb3","316d56302477b3bc2e60f540e1afc2340aebf118@gmail.com","reiser4: block_alloc: add a \"min_len\" parameter to reiser4_blocknr_hint to limit allocated extent length from below.\n\nThe default has been 1, that is, the first encountered free extent with any length\nfrom 1 to requested is allocated and returned.\n\nSo, allow changing minimal extent length to allocate.\n\nSigned-off-by: Ivan Shapovalov <intelfx100@gmail.com>","Ivan Shapovalov",true],["792f1dee378967c75154812fc076f63cc7839acc","316d56302477b3bc2e60f540e1afc2340aebf118@gmail.com","reiser4: batch discard support: honor minimal extent length passed from the userspace.\n\nSigned-off-by: Ivan Shapovalov <intelfx100@gmail.com>","Ivan Shapovalov",true]],"size":8,"ref":"refs/heads/reiser4-discard-batch-wip","head":"792f1dee378967c75154812fc076f63cc7839acc"}