Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Dec 2013 09:54:49 -0800
From:      Manfred Antar <null@pozo.com>
To:        freebsd-current@freebsd.org
Cc:        kib@freebsd.org
Subject:   vfs_bio.c revision 259200 breaks writing to tape drive on current
Message-ID:  <201312221754.rBMHssMv004688@pozo.com>

next in thread | raw e-mail | index | archive | help
The change to vfs_bio.c in revision 259200 breaks writing to scsi tape drive on i386 and sparc64 on current.
I don't have any other machines to test on.
here is example:

r259199:
(/)4794}mt rew
(/)4795}tar cvf /dev/sa0 kernel
a kernel

r259200:
(/)4781}mt rew
(/)4782}tar cvf /dev/sa0 kernel
a kerneltar: Write error

the changes between the two revisions:
line 3682 removed:

bp->b_resid = bip->bio_resid;   /* XXX: remove */

I noticed this when trying to do a dump and getting end of tape error.
tried different tape drives , different cables no change.
backed out r259200 to 259199 and everything works as before.
Manfred

========================
||      null@pozo.com           ||
||                                      ||
========================  




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312221754.rBMHssMv004688>