{"push_id":936164922,"size":1,"distinct_size":1,"ref":"refs/heads/nyr","head":"4a4f46d295aeba5f7a008d2de76fd8562ec13747","before":"cd81adad55430d73743b0b7d585b9ae3068573a9","commits":[{"sha":"4a4f46d295aeba5f7a008d2de76fd8562ec13747","author":{"email":"d9c384f6b6e27869ff3b53bd225c29030ac4166b@gmail.com","name":"Sergey Senozhatsky"},"message":"zram: check comp algorithm availability earlier\n\nImprovement idea by Marcin Jabrzyk.\n\ncomp_algorithm_store() silently accepts any supplied algorithm name,\nbecause zram performs algorithm availability check later, during the\ndevice configuration phase in disksize_store() and emits the following\nerror:\n\n  \"zram: Cannot initialise %s compressing backend\"\n\nthis error line is somewhat generic and, besides, can indicate a failed\nattempt to allocate compression backend's working buffers.\n\nadd algorithm availability check to comp_algorithm_store():\n\n  echo lzz > /sys/block/zram0/comp_algorithm\n  -bash: echo: write error: Invalid argument\n\nSigned-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>\nReported-by: Marcin Jabrzyk <m.jabrzyk@samsung.com>\nAcked-by: Minchan Kim <minchan@kernel.org>\nCc: Nitin Gupta <ngupta@vflare.org>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":true,"url":"https://api.github.com/repos/PineappleOwl/msm-seed/commits/4a4f46d295aeba5f7a008d2de76fd8562ec13747"}]}