1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/sys/geom
Simon L. B. Nielsen 274ede62a8 In g_dev_strategy(), when failing an IO request with EINVAL due to
offset or request size which is not a multiple of the sector size, make
sure that the bio is set to indicate that no data has actually been
transferred.

The result of this is that the file offset is no longer incremented for
these requests.  The fact that the file offset was incremented broke
fdisk(8)'s probing of sector size for non-512 byte sector sizes.

Reviewed by:	phk, cperciva
Submitted by:	mdodd
MFC after:	2 weeks
2006-06-18 22:01:15 +00:00
..
bde
concat
eli Allow to use the old -a option to specify an encryption algorithm to use 2006-06-06 22:06:24 +00:00
gate
label We need to check if file system size is equal to provider's size, because 2006-03-04 19:41:54 +00:00
mirror - Remove dead code. 2006-04-28 12:13:49 +00:00
nop
raid3 Use G_RAID3_FOREACH_SAFE_BIO() macro instead of G_RAID3_FOREACH_BIO() in 2006-05-04 13:01:16 +00:00
shsec
stripe
uzip
vinum Protect from creating striped and RAID5 plexes with unequally sized 2006-03-30 14:01:25 +00:00
zero
geom_aes.c
geom_apple.c
geom_bsd_enc.c
geom_bsd.c Remove the trailing half of a sentence which was clearly superceded 2006-05-24 11:02:32 +00:00
geom_ccd.c Make CCD be able to read and write Linux software raids. 2006-04-13 20:35:31 +00:00
geom_ctl.c Change gctl_set_param() to return an error instead of setting an 2006-04-07 16:19:48 +00:00
geom_ctl.h
geom_dev.c In g_dev_strategy(), when failing an IO request with EINVAL due to 2006-06-18 22:01:15 +00:00
geom_disk.c Add g_wither_provider() to abstract the details of destroying a 2006-04-10 03:55:13 +00:00
geom_disk.h
geom_dump.c
geom_event.c
geom_fox.c
geom_gpt.c Fix unaligned memory accesses on Alpha and possible other platforms. 2006-06-04 20:26:13 +00:00
geom_int.h
geom_io.c Add g_duplicate_bio() function which does the same thing what g_clone_bio() 2006-06-05 21:13:22 +00:00
geom_kern.c
geom_mbr_enc.c
geom_mbr.c
geom_pc98_enc.c
geom_pc98.c
geom_slice.c Add g_wither_provider() to abstract the details of destroying a 2006-04-10 03:55:13 +00:00
geom_slice.h Allow to use g_slice_orphan() from outside. 2006-02-18 11:21:17 +00:00
geom_subr.c Add g_wither_provider() to abstract the details of destroying a 2006-04-10 03:55:13 +00:00
geom_sunlabel_enc.c
geom_sunlabel.c
geom_vfs.c - Lock Giant if needed around the call to vnode_create_vobject(). This is 2006-03-02 05:37:44 +00:00
geom_vfs.h
geom_vol_ffs.c
geom.h Add g_duplicate_bio() function which does the same thing what g_clone_bio() 2006-06-05 21:13:22 +00:00
notes