freebsd-dev/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
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
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
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
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
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