linux/fs/gfs2
Bob Peterson b2c87cae0e GFS2: Issue discards in 512b sectors
This patch changes GFS2's discard issuing code so that it calls
function sb_issue_discard rather than blkdev_issue_discard. The
code was calling blkdev_issue_discard and specifying the correct
sector offset and sector size, but blkdev_issue_discard expects
these values to be in terms of 512 byte sectors, even if the native
sector size for the device is different. Calling sb_issue_discard
with the BLOCK size instead ensures the correct block-to-512b-sector
translation. I verified that "minlen" is specified in blocks, so
comparing it to a number of blocks is correct.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2013-04-05 17:55:13 +01:00
..
acl.c
acl.h
aops.c
bmap.c
bmap.h
dentry.c
dir.c
dir.h
export.c fs: encode_fh: return FILEID_INVALID if invalid fid_type 2013-02-26 02:46:10 -05:00
file.c GFS2: Fix unlock of fcntl locks during withdrawn state 2013-04-04 09:53:46 +01:00
gfs2.h
glock.c
glock.h
glops.c
glops.h
incore.h GFS2: use kmalloc for lvb bitmap 2013-04-04 09:52:14 +01:00
inode.c
inode.h
Kconfig
lock_dlm.c GFS2: use memchr_inv 2013-04-04 09:52:50 +01:00
log.c
log.h
lops.c
lops.h
main.c
Makefile
meta_io.c
meta_io.h
ops_fstype.c fs: Limit sys_mount to only request filesystem modules. 2013-03-03 19:36:31 -08:00
quota.c
quota.h
recovery.c
recovery.h
rgrp.c GFS2: Issue discards in 512b sectors 2013-04-05 17:55:13 +01:00
rgrp.h
super.c
super.h
sys.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-02-26 20:16:07 -08:00
sys.h
trace_gfs2.h
trans.c
trans.h
util.c
util.h
xattr.c
xattr.h