aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/zram
AgeCommit message (Expand)AuthorFilesLines
6 daysMerge tag 'pull-set_blocksize' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds2-23/+8
2024-05-02zram: don't bother with reopening - just use O_EXCL for openAl Viro2-23/+8
2024-04-25zram: add max_pages param to recompressionSergey Senozhatsky1-3/+28
2024-03-14Merge tag 'mm-stable-2024-03-13-20-04' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds3-4/+4
2024-03-11Merge tag 'for-6.9/block-20240310' of git://git.kernel.dk/linuxLinus Torvalds1-26/+25
2024-03-04zram: zcomp: remove zcomp_set_max_streams() declarationKefeng Wang1-1/+0
2024-02-25zram: port block device access to fileChristian Brauner2-14/+14
2024-02-22zram: do not allocate physically contiguous strm buffersBarry Song1-2/+3
2024-02-22zram: use copy_page for full page copyMark-PK Tsai1-1/+1
2024-02-19zram: pass queue_limits to blk_mq_alloc_diskChristoph Hellwig1-24/+23
2024-02-19block: pass a queue_limits argument to blk_alloc_diskChristoph Hellwig1-3/+3
2024-01-11Merge tag 'for-6.8/block-2024-01-08' of git://git.kernel.dk/linuxLinus Torvalds1-1/+0
2023-12-29zram: use the default discard granularityChristoph Hellwig1-1/+0
2023-12-10zram: use kmap_local_page()Sergey Senozhatsky1-15/+15
2023-12-10zram: tweak writeback config helpSergey Senozhatsky1-2/+2
2023-12-10zram: split memory-tracking and ac-time trackingSergey Senozhatsky3-16/+24
2023-10-28zram: Convert to use bdev_open_by_dev()Jan Kara2-18/+15
2023-08-05zram: take device and not only bvec offset into accountChristoph Hellwig1-12/+20
2023-06-28Merge tag 'mm-stable-2023-06-24-19-15' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2023-06-19zram: further limit recompression thresholdSergey Senozhatsky1-1/+1
2023-06-12block: replace fmode_t with a block-specific type for block open flagsChristoph Hellwig1-3/+3
2023-06-12block: use the holder as indication for exclusive opensChristoph Hellwig1-4/+4
2023-06-12block: pass a gendisk to ->openChristoph Hellwig1-8/+5
2023-06-05block: introduce holder opsChristoph Hellwig1-1/+1
2023-05-31zram: use __bio_add_page for adding single page to bioJohannes Thumshirn1-1/+1
2023-05-06Merge tag 'for-6.4/block-2023-05-06' of git://git.kernel.dk/linuxLinus Torvalds1-1/+0
2023-04-27Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds2-246/+137
2023-04-25block/drivers: remove dead clear of random flagChaitanya Kulkarni1-1/+0
2023-04-18zram: return errors from read_from_bdev_syncChristoph Hellwig1-3/+4
2023-04-18zram: fix synchronous readsChristoph Hellwig1-38/+22
2023-04-18zram: don't return errors from read_from_bdev_asyncChristoph Hellwig1-12/+4
2023-04-18zram: pass a page to read_from_bdevChristoph Hellwig1-27/+16
2023-04-18zram: refactor zram_bdev_writeChristoph Hellwig1-19/+19
2023-04-18zram: don't pass a bvec to __zram_bvec_writeChristoph Hellwig1-10/+4
2023-04-18zram: refactor zram_bdev_readChristoph Hellwig1-20/+20
2023-04-18zram: directly call zram_read_page in writeback_storeChristoph Hellwig1-10/+4
2023-04-18zram: rename __zram_bvec_read to zram_read_pageChristoph Hellwig1-4/+4
2023-04-18zram: don't use highmem for the bounce buffer in zram_bvec_{read,write}Christoph Hellwig1-12/+5
2023-04-18zram: refactor highlevel read and write handlingChristoph Hellwig1-28/+30
2023-04-18zram: return early on error in zram_bvec_rwChristoph Hellwig1-9/+9
2023-04-18zram: move discard handling to zram_submit_bioChristoph Hellwig1-10/+13
2023-04-18zram: simplify bvec iteration in __zram_make_requestChristoph Hellwig1-31/+11
2023-04-18zram: make zram_bio_discard more self-containedChristoph Hellwig1-9/+7
2023-04-18zram: remove valid_io_requestChristoph Hellwig2-34/+1
2023-04-18zram: always compile read_from_bdev_syncChristoph Hellwig1-12/+6
2023-04-18zram: fix up permission for the hot_add sysfs fileGreg Kroah-Hartman1-1/+3
2023-03-29driver core: class: mark the struct class for sysfs callbacks as constantGreg Kroah-Hartman1-6/+5
2023-03-17drivers: remove struct module * setting from struct classGreg Kroah-Hartman1-1/+0
2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-64/+5
2023-02-03zram: use bvec_set_page to initialize bvecsChristoph Hellwig1-11/+4
2023-02-02block: remove ->rw_pageChristoph Hellwig1-60/+1
2023-01-18zram: correctly handle all next_arg() casesSergey Senozhatsky1-2/+2
2023-01-18zram: fix typos in commentsJeongHyeon Lee1-2/+2
2022-11-30zram: remove unused stats fieldsSergey Senozhatsky2-4/+0
2022-11-30zram: add incompressible flag to read_block_state()Sergey Senozhatsky1-2/+4
2022-11-30zram: add incompressible writebackSergey Senozhatsky1-6/+12
2022-11-30zram: add algo parameter support to zram_recompress()Sergey Senozhatsky2-9/+46
2022-11-30zram: remove redundant checks from zram_recompress()Sergey Senozhatsky1-6/+2
2022-11-30zram: add size class equals check into recompressionAlexey Romanov1-1/+10
2022-11-30zram: use IS_ERR_VALUE() to check for zs_malloc() errorsSergey Senozhatsky1-3/+3
2022-11-30zram: clarify writeback_store() commentSergey Senozhatsky1-2/+6
2022-11-30zram: add recompress flag to read_block_state()Sergey Senozhatsky1-2/+3
2022-11-30zram: introduce recompress sysfs knobSergey Senozhatsky3-3/+277
2022-11-30zram: factor out WB and non-WB zram read functionsSergey Senozhatsky1-23/+49
2022-11-30zram: add recompression algorithm sysfs knobSergey Senozhatsky1-19/+105
2022-11-30zram: preparation for multi-zcomp supportSergey Senozhatsky4-32/+80
2022-11-08zram: use try_cmpxchg in update_used_maxUros Bizjak1-8/+5
2022-10-14Merge tag 'mm-stable-2022-10-13' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-23/+3
2022-10-12zram: always expose rw_pageBrian Geffon1-23/+3
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds2-22/+31
2022-10-07Merge tag 'for-6.1/block-2022-10-03' of git://git.kernel.dk/linuxLinus Torvalds1-3/+3
2022-10-03zram: keep comments within 80-columns limitSergey Senozhatsky1-8/+11
2022-10-03zram: do not waste zram_table_entry flags bitsSergey Senozhatsky2-8/+9
2022-09-21block: move from strlcpy with unused retval to strscpyWolfram Sang1-3/+3
2022-09-11zram: don't retry compress incompressible pageAlexey Romanov1-2/+12
2022-09-11drivers/block/zram/zram_drv.c: do not keep dangling zcomp pointer after zram ...Sergey Senozhatsky1-9/+4
2022-08-20Revert "zram: remove double compression logic"Jiri Slaby2-10/+33
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds2-8/+9
2022-07-29zsmalloc: zs_malloc: return ERR_PTR on failureHui Zhu1-2/+2
2022-07-17zram: fix unused 'zram_wb_devops' warningKefeng Wang1-0/+2
2022-07-14block/zram: Use enum req_op where appropriateBart Van Assche1-1/+1
2022-07-14block: Change the type of the last .rw_page() argumentBart Van Assche1-1/+1
2022-07-03zram: do not lookup algorithm in backends tableSergey Senozhatsky1-6/+5
2022-06-28block: remove blk_cleanup_diskChristoph Hellwig1-2/+2
2022-05-26Merge tag 'mm-stable-2022-05-25' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds3-38/+18
2022-05-25zram: fix Kconfig dependency warningRandy Dunlap1-1/+1
2022-05-23Merge tag 'for-5.19/drivers-2022-05-22' of git://git.kernel.dk/linux-blockLinus Torvalds1-15/+14
2022-05-19mm: Kconfig: simplify zswap configurationJohannes Weiner1-1/+2
2022-05-13zram: remove double compression logicAlexey Romanov2-33/+10
2022-04-29zram: add a huge_idle writeback modeBrian Geffon1-4/+6
2022-04-18block: add a disk_openers helperChristoph Hellwig1-2/+2
2022-04-18zram: cleanup zram_removeChristoph Hellwig1-6/+5
2022-04-18zram: cleanup reset_storeChristoph Hellwig1-9/+9
2022-04-18block: change exported IO accounting interface from gendisk to bdevMing Lei1-2/+3
2022-04-17block: remove QUEUE_FLAG_DISCARDChristoph Hellwig1-1/+0
2022-03-04zram: use memcpy_from_bvec in zram_bvec_writeChristoph Hellwig1-4/+1
2022-03-04zram: use memcpy_to_bvec in zram_bvec_readChristoph Hellwig1-3/+1
2022-02-02block: pass a block_device and opf to bio_initChristoph Hellwig1-3/+2
2022-02-02block: pass a block_device and opf to bio_allocChristoph Hellwig1-7/+4
2022-02-02block: remove genhd.hChristoph Hellwig1-1/+0
2022-01-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-9/+2
2022-01-15zram: use ATTRIBUTE_GROUPSLuis Chamberlain1-9/+2
2021-11-29block: remove GENHD_FL_EXT_DEVTChristoph Hellwig1-0/+1
2021-11-26zram: only make zram_wb_devops for CONFIG_ZRAM_WRITEBACKJens Axboe1-0/+2
2021-11-09Merge tag 'for-5.16/drivers-2021-11-09' of git://git.kernel.dk/linux-blockLinus Torvalds1-9/+36
2021-11-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-18/+48
2021-11-06zram: introduce an aged idle interfaceBrian Geffon1-16/+46
2021-11-06zram: off by one in read_block_state()Dan Carpenter1-1/+1
2021-11-06zram_drv: allow reclaim on bio_allocJaewon Kim1-1/+1
2021-11-02zram: replace fsync_bdev with sync_blockdevMing Lei1-2/+2
2021-11-02zram: avoid race between zram_remove and disksize_storeMing Lei1-0/+7
2021-11-02zram: don't fail to remove zram during unloading moduleMing Lei1-6/+21
2021-11-02zram: fix race between zram_reset_device() and disksize_store()Ming Lei1-1/+2
2021-10-30zram: add error handling support for add_disk()Luis Chamberlain1-1/+5
2021-10-18block: switch polling to be bio basedChristoph Hellwig1-7/+3
2021-07-02Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+1
2021-07-01zram: move backing_dev under macro CONFIG_ZRAM_WRITEBACKYue Hu1-1/+1
2021-06-01block: move bd_mutex to struct gendiskChristoph Hellwig2-10/+10
2021-06-01zram: convert to blk_alloc_disk/blk_cleanup_diskChristoph Hellwig1-15/+4
2021-03-13zram: fix broken page writebackMinchan Kim1-3/+3
2021-03-13zram: fix return value on writeback_storeMinchan Kim1-3/+8
2021-02-26zsmalloc: account the number of compacted pages correctlyRokudo Yan1-1/+1
2021-01-26zram: fix NULL check before some freeing functions is not neededTian Tao1-2/+1
2021-01-24block: store a block_device pointer in struct bioChristoph Hellwig1-1/+1
2020-12-16Merge tag 'for-5.11/block-2020-12-14' of git://git.kernel.dk/linux-blockLinus Torvalds2-29/+6
2020-12-15zram: break the strict dependency from lzoRui Salvaterra3-2/+44
2020-12-15zram: add stat to gather incompressible pages since zram set upMinchan Kim2-2/+5
2020-12-15zram: support page writebackMinchan Kim1-4/+17
2020-12-01block: stop using bdget_disk for partition 0Christoph Hellwig1-12/+2
2020-12-01block: switch partition lookup to use struct block_deviceChristoph Hellwig1-1/+1
2020-12-01block: allocate struct hd_struct as part of struct bdev_inodeChristoph Hellwig1-1/+1
2020-12-01zram: do not call set_blocksizeChristoph Hellwig2-11/+1
2020-11-16zram: use set_capacity_and_notifyChristoph Hellwig1-5/+2
2020-10-24Merge tag 'block-5.10-2020-10-24' of git://git.kernel.dk/linux-blockLinus Torvalds1-3/+5
2020-10-19zram: Fix __zram_bvec_{read,write}() locking orderPeter Zijlstra1-3/+5
2020-10-16zram: failing to decompress is WARN_ON worthyDouglas Anderson1-1/+1
2020-09-24bdi: replace BDI_CAP_STABLE_WRITES with a queue and a sb flagChristoph Hellwig1-1/+1
2020-09-24bdi: remove BDI_CAP_SYNCHRONOUS_IOChristoph Hellwig1-6/+13
2020-09-23zram: cleanup backing_dev_storeChristoph Hellwig1-3/+4
2020-09-02block: add a new revalidate_disk_size helperChristoph Hellwig1-2/+2
2020-08-03Merge tag 'for-5.9/block-20200802' of git://git.kernel.dk/linux-blockLinus Torvalds1-7/+7
2020-07-01Revert "zram: convert remaining CLASS_ATTR() to CLASS_ATTR_RO()"Wade Mealing1-1/+2
2020-07-01block: move ->make_request_fn to struct block_device_operationsChristoph Hellwig1-5/+6
2020-07-01zram: stop using ->queuedataChristoph Hellwig1-2/+1
2020-06-04zcomp: Use ARRAY_SIZE() for backends listAndy Shevchenko1-4/+3
2020-06-02Merge tag 'for-5.8/block-2020-06-01' of git://git.kernel.dk/linux-blockLinus Torvalds1-14/+10
2020-05-28zram: Use local lock to protect per-CPU dataMike Galbraith2-2/+8
2020-05-28zram: Allocate struct zcomp_strm as per-CPU memorySebastian Andrzej Siewior2-26/+17
2020-05-27zram: nvdimm: use bio_{start,end}_io_acct and disk_{start,end}_io_acctChristoph Hellwig1-14/+10
2020-03-27block: simplify queue allocationChristoph Hellwig1-3/+1
2020-03-25block: move the part_stat* helpers from genhd.h to a new headerChristoph Hellwig1-0/+1
2020-01-31drivers/block/zram/zram_drv.c: fix error return codes not being returned in w...Colin Ian King1-2/+1
2020-01-31zram: try to avoid worst-case scenario on same element pagesTaejoon Song1-2/+5
2019-10-19zram: fix race between backing_dev_show and backing_dev_storeChenwandun1-2/+3
2019-07-15docs: blockdev: add it to the admin-guideMauro Carvalho Chehab1-3/+3
2019-07-15docs: blockdev: convert to ReSTMauro Carvalho Chehab1-3/+3
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner2-10/+2
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner1-0/+1
2019-04-26zram: pass down the bvec we need to read into in the work structJérôme Glisse1-2/+3
2019-03-29drivers/block/zram/zram_drv.c: fix idle/writeback string compareMinchan Kim1-26/+6
2019-03-14zram: default to lzo-rle instead of lzoDave Rodgman1-1/+1
2019-03-07lib/lzo: separate lzo-rle from lzoDave Rodgman1-0/+1
2019-01-08zram: idle writeback fixes and cleanupMinchan Kim2-26/+69
2018-12-28zram: writeback throttleMinchan Kim2-3/+51
2018-12-28zram: add bd_stat statisticsMinchan Kim2-0/+34
2018-12-28zram: support idle/huge page writebackMinchan Kim3-75/+178
2018-12-28zram: introduce ZRAM_IDLE flagMinchan Kim2-3/+55
2018-12-28zram: refactor flags and writeback stuffMinchan Kim2-69/+44
2018-12-28zram: fix double free backing deviceMinchan Kim1-1/+3
2018-12-28zram: fix lockdep warning of free block handlingMinchan Kim2-18/+22
2018-10-10drivers/block: remove redundant 'default n' from Kconfig-sBartlomiej Zolnierkiewicz1-2/+0
2018-09-28zram: register default groups with device_add_disk()Hannes Reinecke1-21/+7
2018-08-22drivers/block/zram/zram_drv.c: fix bug storing backing_devPeter Kalauskas1-1/+6
2018-08-14Merge tag 'for-4.19/block-20180812' of git://git.kernel.dk/linux-blockLinus Torvalds1-10/+9
2018-08-10zram: remove BD_CAP_SYNCHRONOUS_IO with writeback featureMinchan Kim1-1/+14
2018-07-18block: Add and use op_stat_group() for indexing disk_stat fields.Michael Callahan1-3/+2
2018-07-18block: make bdev_ops->rw_page() take a REQ_OP instead of boolTejun Heo1-8/+8
2018-06-12treewide: Use array_size() in vzalloc()Kees Cook1-1/+1
2018-06-07zram: introduce zram memory trackingMinchan Kim3-14/+139
2018-06-07zram: record accessed secondMinchan Kim2-0/+17
2018-06-07zram: mark incompressible page as ZRAM_HUGEMinchan Kim2-3/+16
2018-06-07zram: correct flag name of ZRAM_ACCESSMinchan Kim2-13/+13
2018-04-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds2-17/+8
2018-04-05zram: drop max_zpage_size and use zs_huge_class_size()Sergey Senozhatsky2-17/+8
2018-03-17block: Move SECTOR_SIZE and SECTOR_SHIFT definitions into <linux/blkdev.h>Bart Van Assche1-1/+0
2018-03-08block: Use blk_queue_flag_*() in drivers instead of queue_flag_*()Bart Van Assche1-3/+3
2018-02-28zram: Delete gendisk before cleaning up the request queueBart Van Assche1-1/+1
2018-01-06block: convert to bio_first_bvec_all & bio_first_page_allMing Lei1-1/+1
2017-11-15drivers/block/zram/zram_drv.c: make zram_page_end_io() staticColin Ian King1-1/+1
2017-11-15zram: remove zlib from the list of recommended algorithmsSergey Senozhatsky1-3/+0
2017-11-15zram: add zstd to the supported algorithms listSergey Senozhatsky1-0/+3
2017-11-15bdi: introduce BDI_CAP_SYNCHRONOUS_IOMinchan Kim1-1/+1
2017-11-15zram: set BDI_CAP_STABLE_WRITES onceMinchan Kim1-10/+6
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-03zram: fix null dereference of handleMinchan Kim1-24/+12
2017-09-08drivers/block/zram/zram_drv.c: convert to using memset_lMatthew Wilcox1-11/+2
2017-09-07Merge branch 'for-4.14/block' of git://git.kernel.dk/linux-blockLinus Torvalds1-4/+5
2017-09-06block, THP: make block_device_operations.rw_page support THPHuang Ying1-0/+2
2017-09-06zram: add config and doc file for writeback featureMinchan Kim1-0/+12
2017-09-06zram: read page from backing deviceMinchan Kim1-5/+118