aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/loop.c
AgeCommit message (Expand)AuthorFilesLines
2018-09-21blkcg: remove bio->bi_css and instead use bio->bi_blkgDennis Zhou (Facebook)1-2/+3
2018-07-09block/loop: mark expected switch fall-throughGustavo A. R. Silva1-0/+1
2018-07-09loop: remove redundant pointer inodeColin Ian King1-2/+0
2018-07-06Merge tag 'for-linus-20180706' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+1
2018-07-03loop: Add LOOP_SET_BLOCK_SIZE in compat ioctlEvan Green1-0/+1
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-1/+2
2018-06-08Merge tag 'for-linus-20180608' of git://git.kernel.dk/linux-blockLinus Torvalds1-30/+38
2018-06-08Merge branch 'work.aio' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-0/+3
2018-06-05loop: add recursion validation to LOOP_CHANGE_FDTheodore Ts'o1-30/+38
2018-06-04Merge tag 'for-4.18/block-20180603' of git://git.kernel.dk/linux-blockLinus Torvalds1-8/+9
2018-05-31fs: Add aio iopriority supportAdam Manzanares1-0/+3
2018-05-24block drivers/block: Use octal not symbolic permissionsJoe Perches1-3/+3
2018-05-21loop: clear wb_err in bd_inode when detaching backing fileJeff Layton1-0/+1
2018-05-07loop: remember whether sysfs_create_group() was doneTetsuo Handa1-5/+6
2018-04-14loop: handle short DIO readsJens Axboe1-7/+27
2018-04-14loop: remove cmd->rq memberJens Axboe1-17/+19
2018-04-10loop: fix LOOP_GET_STATUS lock imbalanceOmar Sandoval1-15/+18
2018-04-10block/loop: fix deadlock after loop_set_statusTetsuo Handa1-4/+8
2018-04-05Merge tag 'for-4.17/block-20180402' of git://git.kernel.dk/linux-blockLinus Torvalds1-29/+48
2018-03-27loop: use killable lock in ioctlsOmar Sandoval1-10/+19
2018-03-27loop: don't call into filesystem while holding lo_ctl_mutexOmar Sandoval1-14/+24
2018-03-09loop: Fix lost writes caused by missing flagRoss Zwisler1-1/+1
2018-03-08block: Use blk_queue_flag_*() in drivers instead of queue_flag_*()Bart Van Assche1-5/+5
2018-02-28block/loop: Delete gendisk before cleaning up the request queueBart Van Assche1-1/+1
2018-02-26genhd: Rename get_disk() to get_disk_and_module()Jan Kara1-1/+1
2018-01-06loop: fix concurrent lo_open/lo_releaseLinus Torvalds1-2/+8
2017-09-26block: fix a build errorShaohua Li1-1/+1
2017-09-26block/loop: make loop cgroup awareShaohua Li1-0/+13
2017-09-06loop: set physical block size to logical block sizeOmar Sandoval1-2/+4
2017-09-01block/loop: fix use after freeShaohua Li1-3/+13
2017-09-01block/loop: allow request merge for directio modeShaohua Li1-15/+51
2017-09-01block/loop: set hw_sectorsShaohua Li1-0/+1
2017-08-31loop: fold loop_switch() into callersOmar Sandoval1-65/+11
2017-08-31loop: add ioctl for changing logical block sizeOmar Sandoval1-0/+24
2017-08-31loop: set physical block size to PAGE_SIZEOmar Sandoval1-0/+2
2017-08-31loop: get rid of lo_blocksizeOmar Sandoval1-8/+2
2017-08-28Merge tag 'v4.13-rc7' into for-4.14/block-postmergeJens Axboe1-36/+6
2017-08-23Revert "loop: support 4k physical blocksize"Omar Sandoval1-36/+6
2017-08-15loop: fix to a race condition due to the early registration of deviceAnton Volkov1-6/+8
2017-07-05Merge branch 'work.read_write' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-3/+3
2017-06-29fs: implement vfs_iter_write using do_iter_writeChristoph Hellwig1-1/+1
2017-06-29fs: implement vfs_iter_read using do_iter_readChristoph Hellwig1-2/+2
2017-06-18loop: Add PF_LESS_THROTTLE to block/loop device thread.NeilBrown1-1/+7
2017-06-12Merge tag 'v4.12-rc5' into for-4.13/blockJens Axboe1-0/+3
2017-06-09blk-mq: switch ->queue_rq return value to blk_status_tChristoph Hellwig1-3/+3
2017-06-09block: introduce new block status code typeChristoph Hellwig1-1/+1
2017-06-09loop: fix error handling regressionArnd Bergmann1-1/+2
2017-06-08loop: support 4k physical blocksizeHannes Reinecke1-6/+37
2017-06-08loop: Remove unused 'bdev' argument from loop_set_capacityHannes Reinecke1-2/+2
2017-06-08Fix loop device flush before configure v3James Wang1-0/+3
2017-05-02blk-mq: update ->init_request and ->exit_request prototypesChristoph Hellwig1-3/+2
2017-04-20blk-mq: remove the error argument to blk_mq_complete_requestChristoph Hellwig1-2/+2
2017-04-20loop: zero-fill bio on the submitting cpuChristoph Hellwig1-16/+14
2017-04-08block: remove the discard_zeroes_data flagChristoph Hellwig1-2/+0
2017-04-08loop: implement REQ_OP_WRITE_ZEROESChristoph Hellwig1-0/+4
2017-03-31blk-mq: constify struct blk_mq_opsEric Biggers1-1/+1
2017-03-03Merge branch 'rebased-statx' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+2
2017-03-03Merge branch 'for-linus' of git://git.kernel.dk/linux-blockLinus Torvalds1-7/+8
2017-03-02statx: Add a system call to make enhanced file info availableDavid Howells1-1/+2
2017-03-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-2/+2
2017-03-02loop: fix LO_FLAGS_PARTSCAN hangOmar Sandoval1-7/+8
2017-03-02Merge remote-tracking branch 'ovl/for-viro' into for-linusAl Viro1-2/+2
2017-02-27scripts/spelling.txt: add "algined" pattern and fix typo instancesMasahiro Yamada1-1/+1
2017-02-20vfs: use helpers for calling f_op->{read,write}_iter()Miklos Szeredi1-2/+2
2017-02-13block/loop: fix race between I/O and set_statusMing Lei1-5/+12
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-11-14loop: return proper error from loop_queue_rq()Omar Sandoval1-1/+1
2016-10-11kthread: kthread worker API cleanupPetr Mladek1-4/+4
2016-09-15blk-mq: remove ->map_queueChristoph Hellwig1-1/+0
2016-08-04loop: make do_req_filebacked more robustChristoph Hellwig1-33/+22
2016-08-04loop: don't try to use AIO for discardsChristoph Hellwig1-4/+8
2016-07-12loop: Make user notify for adding loop device failedMinfei Huang1-0/+1
2016-06-07block, drivers: add REQ_OP_FLUSH operationMike Christie1-2/+2
2016-06-07drivers: use req op accessorMike Christie1-3/+3
2016-06-07block, drivers, cgroup: use op_is_write helper instead of checking for REQ_WRITEMike Christie1-3/+3
2016-05-17Merge branch 'for-4.7/drivers' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2016-04-15block: loop: fix filesystem corruption in case of aio/dioMing Lei1-0/+6
2016-04-12loop: switch to using blk_queue_write_cache()Jens Axboe1-1/+1
2015-10-09Merge branch 'for-4.4/core' into for-4.4/driversJens Axboe1-8/+6
2015-10-01blk-mq: fix racy updates of rq->errorsChristoph Hellwig1-6/+5
2015-09-23block: loop: support DIO & AIOMing Lei1-3/+95
2015-09-23block: loop: introduce ioctl command of LOOP_SET_DIRECT_IOMing Lei1-0/+19
2015-09-23block: loop: prepare for supporing direct IOMing Lei1-0/+77
2015-09-23block: loop: use kthread_workMing Lei1-55/+24
2015-09-23block: loop: set QUEUE_FLAG_NOMERGES for request queue of loopMing Lei1-0/+6
2015-07-17block: have drivers use blk_queue_max_discard_sectors()Jens Axboe1-2/+2
2015-07-04Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2015-06-25Merge branch 'for-4.2/drivers' of git://git.kernel.dk/linux-blockLinus Torvalds1-30/+52
2015-06-23vfs: add file_path() helperMiklos Szeredi1-1/+1
2015-05-20loop: remove (now) unused 'out' labelJens Axboe1-1/+0
2015-05-20block: loop: fix another reread part failureMing Lei1-4/+26
2015-05-20block: loop: don't hold lo_ctl_mutex in lo_openMing Lei1-9/+12
2015-05-05block: loop: avoiding too many pending per work I/OMing Lei1-1/+1
2015-05-05block: loop: convert to per-device workqueueMing Lei1-16/+14
2015-04-27block: destroy bdi before blockdev is unregistered.NeilBrown1-1/+1
2015-04-15block: loop: switch to VFS ITER_BVECChristoph Hellwig1-174/+120
2015-04-11switch /dev/loop to vfs_iter_write()Al Viro1-5/+7
2015-01-02loop: add blk-mq.h includeJens Axboe1-1/+0
2015-01-02block: loop: don't handle REQ_FUA explicitlyMing Lei1-11/+3
2015-01-02block: loop: introduce lo_discard() and lo_req_flush()Ming Lei1-33/+40
2015-01-02block: loop: say goodby to bioMing Lei1-25/+20
2015-01-02block: loop: improve performance via blk-mqMing Lei1-164/+163
2014-05-07Merge branch 'sched/urgent' into sched/core, to avoid conflictsIngo Molnar1-4/+4
2014-04-18sched, treewide: Replace hardcoded nice values with MIN_NICE/MAX_NICEDongsheng Yang1-1/+1
2014-04-08drivers/block/loop.c: ratelimit error messagesMike Galbraith1-4/+4
2014-01-21drivers/block/loop.c: fix comment typo in loop_config_discardOlaf Hering1-1/+1
2013-11-23block: Convert bio_for_each_segment() to bvec_iterKent Overstreet1-11/+12
2013-11-23block: Abstract out bvec iteratorKent Overstreet1-2/+2
2013-11-08loop: fix crash when using unassigned loop deviceMikulas Patocka1-7/+8
2013-11-08block: fix a probe argument to blk_register_regionMikulas Patocka1-1/+1
2013-11-08loop: fix crash if blk_alloc_queue failsMikulas Patocka1-1/+3
2013-06-29move linux/loop.h to drivers/blockAl Viro1-1/+1
2013-05-07block_device_operations->release() should return voidAl Viro1-4/+2
2013-05-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-0/+2
2013-04-09Merge tag 'for-linus-20130409' of git://git.kernel.dk/linux-blockLinus Torvalds1-19/+2
2013-04-09lift sb_start_write() out of ->write()Al Viro1-0/+2
2013-04-08Revert "loop: cleanup partitions when detaching loop device"Jens Axboe1-19/+2
2013-04-01loop: prevent bdev freeing while device in useAnatol Pomozov1-1/+8
2013-03-22loop: cleanup partitions when detaching loop devicePhillip Susi1-2/+19
2013-03-22loop: fix error return code in loop_add()Wei Yongjun1-0/+1
2013-02-28Merge branch 'for-3.9/drivers' of git://git.kernel.dk/linux-blockLinus Torvalds1-32/+29
2013-02-27block/loop: convert to idr_alloc()Tejun Heo1-18/+5
2013-02-27block/loop: don't use idr_remove_all()Tejun Heo1-1/+0
2013-02-26switch vfs_getattr() to struct pathAl Viro1-1/+1
2013-02-22loopdev: ignore negative offset when calculate loop device sizeGuo Chao1-4/+5
2013-02-22loopdev: remove an user triggerable oopsGuo Chao1-6/+16
2013-02-22loopdev: move common code into loop_figure_size()Guo Chao1-24/+7
2013-02-22loopdev: update block device size in loop_set_status()Guo Chao1-0/+5
2013-02-22loopdev: fix a deadlockGuo Chao1-2/+0
2012-12-17Merge branch 'for-3.8/drivers' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+10
2012-11-30loop: Limit the number of requests in the bio listLukas Czerner1-0/+10
2012-10-30loop: Make explicit loop device destruction lazyDave Chinner1-2/+15
2012-09-21userns: Convert loop to use kuid_t instead of uid_tEric W. Biederman1-2/+2
2012-07-14blk: fix wrong idr_pre_get() error check in loop.cSilva Paulo1-5/+3
2012-03-20block: remove the second argument of k[un]map_atomic()Cong Wang1-8/+8
2012-02-08loop: zero fill bio instead of return -EIO for partial readDave Young1-11/+13
2012-01-03fs: move code out of buffer.cAl Viro1-1/+0
2011-12-02loop: Fix discard_alignment default settingLukas Czerner1-1/+1
2011-11-25loop: fix loop block driver discard and encryption commentDave Young1-1/+1
2011-11-16loop: cleanup set_status interfaceDmitry Monakhov1-15/+29
2011-11-16loop: prevent information leak after failed readDmitry Monakhov1-1/+2
2011-11-04Merge branch 'for-3.2/drivers' of git://git.kernel.dk/linux-blockLinus Torvalds1-7/+104
2011-10-24Merge branch 'for-linus' into for-3.2/coreJens Axboe1-112/+23
2011-10-19Merge branch 'v3.1-rc10' into for-3.2/coreJens Axboe1-91/+206
2011-10-17loop: remove the incorrect write_begin/write_end shortcutChristoph Hellwig1-112/+23
2011-09-21drivers/block/loop.c: remove unnecessary bdev argument from loop_clr_fd()Ayan George1-3/+4
2011-09-21drivers/block/loop.c: emit uevent on auto releasePhillip Susi1-1/+1
2011-09-12block: remove support for bio remapping from ->make_requestChristoph Hellwig1-3/+2
2011-08-23loop: always allow userspace partitions and optionally support automatic scan...Kay Sievers1-4/+45
2011-08-19loop: add discard support for loop devicesLukas Czerner1-0/+54
2011-07-31loop: fix deadlock when sysfs and LOOP_CLR_FD race against each otherKay Sievers1-2/+4
2011-07-31loop: add BLK_DEV_LOOP_MIN_COUNT=%i to allow distros 0 pre-allocated loop dev...Kay Sievers1-17/+10
2011-07-31loop: add management interface for on-demand device allocationKay Sievers1-4/+116
2011-07-31loop: replace linked list of allocated devices with an idr indexKay Sievers1-72/+80
2011-05-27loop: export module parametersNamhyung Kim1-3/+14
2011-05-24loop: handle on-demand devices correctlyNamhyung Kim1-4/+4
2011-05-24loop: limit 'max_part' module param to DISK_MAX_PARTSNamhyung Kim1-0/+3
2011-03-10Merge branch 'for-2.6.39/stack-plug' into for-2.6.39/coreJens Axboe1-13/+0
2011-03-10block: remove per-queue pluggingJens Axboe1-13/+0
2011-03-04Merge branch 'for-linus' of ../linux-2.6-block into block-for-2.6.39/coreTejun Heo1-5/+0
2011-03-03block: kill loop_mutexPetr Uzel1-5/+0
2011-03-02loop: No need to initialize ->queue_lock explicitly before calling blk_cleanu...Vivek Goyal1-3/+0
2011-01-19loop: queue_lock NULL pointer derefence in blk_throtl_exitSergey Senozhatsky1-0/+3
2010-12-20Fix compile warnings due to missing removal of a 'ret' variableJens Axboe1-1/+1
2010-12-17fs/splice: Pull buf->ops->confirm() from splice_from_pipe actorsMichał Mirosław1-4/+0
2010-11-10block: remove REQ_HARDBARRIERChristoph Hellwig1-6/+0
2010-10-27loop: Properly clear sysfs in autoclear modeMilan Broz1-1/+1
2010-10-26mm: strictly nested kmap_atomic()Peter Zijlstra1-2/+2
2010-10-22Merge branch 'for-2.6.37/barrier' of git://git.kernel.dk/linux-2.6-blockLinus Torvalds1-10/+10
2010-10-22Merge branch 'for-2.6.37/drivers' of git://git.kernel.dk/linux-2.6-blockLinus Torvalds1-0/+101
2010-10-05block: autoconvert trivial BKL users to private mutexArnd Bergmann1-5/+6
2010-09-10block/loop: implement REQ_FLUSH/FUA supportTejun Heo1-9/+9
2010-09-10block: deprecate barrier and replace blk_queue_ordered() with blk_queue_flush()Tejun Heo1-1/+1
2010-09-10block/loop: queue ordered mode should be DRAIN_FLUSHTejun Heo1-1/+1
2010-08-23loop: add some basic read-only sysfs attributesMilan Broz1-0/+101
2010-08-23BLOCK: fix bio.bi_rw handlingJiri Slaby1-1/+1
2010-08-07block: push down BKL into .open and .releaseArnd Bergmann1-0/+5
2010-08-07block: remove q->prepare_flush_fn completelyFUJITA Tomonori1-1/+1
2010-08-07block: unify flags for struct bio and struct requestChristoph Hellwig1-1/+1
2010-05-21sanitize vfs_fsync calling conventionsChristoph Hellwig1-2/+2
2010-05-21generate "change" uevent for loop deviceDavid Zeuthen1-1/+9
2010-04-09Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-blockLinus Torvalds1-0/+2
2010-04-08loop: Update mtime when writing using aopsNikanth Karthikesan1-0/+2
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-1/+0
2009-10-29loop: fix NULL dereference if mount failsAlexey Dobriyan1-1/+1
2009-09-22const: make block_device_operations constAlexey Dobriyan1-1/+1
2009-09-11bio: first step in sanitizing the bio->bi_rw flag testingJens Axboe1-1/+1
2009-07-12headers: smp_lock.h reduxAlexey Dobriyan1-1/+0
2009-05-11splice: implement default splice_read methodMiklos Szeredi1-10/+1
2009-04-28loop: use BIO list management functionsAkinobu Mita1-19/+7
2009-04-07loop: mutex already unlocked in loop_clr_fd()Alexander Beregalov1-2/+5
2009-04-01loop: add ioctl to resize a loop deviceJ. R. Okajima1-0/+30
2009-03-26loop: fix circular locking in loop_clr_fd()Nikanth Karthikesan1-2/+14
2009-03-24loop: support barrier writesNikanth Karthikesan1-2/+30
2009-03-05loop: don't increment p->offset with (size_t) -EINVALRoel Kluin1-2/+1
2008-12-29loop: Do not call loop_unplug for not configured loop device.Milan Broz1-0/+1
2008-12-29loop: Flush possible running bios when loop device is released.Milan Broz1-3/+35
2008-11-14CRED: Wrap task credential accesses in the block loopback driverDavid Howells1-2/+4
2008-10-30fs: remove prepare_write/commit_writeNick Piggin1-3/+2
2008-10-21[PATCH] kill the unused bsize on the send side of /dev/loopAl Viro1-8/+7