#
688acf41 |
|
15-Sep-2022 |
Jérôme Duval <jerome.duval@gmail.com> |
add physical_block_size field where applicable only scsi_disk checks the actual value, other drivers take the logical block size. This change reports the physical block size from the disk rather than the block size used by IDE/SATA/SCSI commands. On typical modern SATA disks, the SATA commands will use 512 byte blocks, but the disk will actually read and write 4K blocks internally. This is only of importance for partition alignment for DriveSetup, and is independant of file systems or partitioning systems. This could also influence the recommended block size for some file systems. Change-Id: Id0f2e22659e89fcef64c1f8d04f81cd68995e01f Reviewed-on: https://review.haiku-os.org/c/haiku/+/5667 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
07d5dba0 |
|
30-Apr-2022 |
Jim906 <jim_l@fastmail.com> |
kernel/drivers/disk: enable Werror * For NVMe library, disable warnings. * Otherwise, change code to avoid generating warnings. * No functional change. * Fixes #9460. Change-Id: Ia790de391e6b230c909dff7023f00a19bdd574be Reviewed-on: https://review.haiku-os.org/c/haiku/+/5284 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
f3814567 |
|
31-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Fix errors when building with DEBUG=2 Fixes #8306. Please define DEBUG in UserBuildConfig or Jamfiles if needed.
|
#
4e159473 |
|
09-May-2013 |
Jérôme Duval <jerome.duval@gmail.com> |
nbd: fixes 64 bit warnings
|
#
eb5f3639 |
|
12-Feb-2012 |
Jerome Duval <jerome.duval@gmail.com> |
Fixes some occurrences of 'variable set but not used', disables Werror for problematic items.
|
#
2b07b8e0 |
|
28-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
11902c74 |
|
28-Aug-2007 |
François Revol <revol@free.fr> |
Fix warnings git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22096 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0f609eb2 |
|
02-Jun-2007 |
François Revol <revol@free.fr> |
Fix some warnings. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21301 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ec8bd525 |
|
04-May-2007 |
François Revol <revol@free.fr> |
Add api_version. Moved #define DEBUG after the lock.h include, as it wants to find lots of header I'm too lazy to track. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21019 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
835ec57d |
|
03-May-2007 |
François Revol <revol@free.fr> |
Fix building in Haiku git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21005 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ff517f43 |
|
03-May-2007 |
François Revol <revol@free.fr> |
Only publish configured devices. Implemented write(). Not sure it works as it KDLs here on shutdown :^) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21004 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7f66887b |
|
03-May-2007 |
François Revol <revol@free.fr> |
(not working) kludge to allow mountign with a single connection in BeOS (mount open()/close() twice). Implement correct settings. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20995 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a0062874 |
|
03-May-2007 |
François Revol <revol@free.fr> |
512 as block size. Typo. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20993 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3ca76df5 |
|
03-May-2007 |
François Revol <revol@free.fr> |
Implemented request funcs. Done read(). It's working \o/ git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20992 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
637cbfee |
|
02-May-2007 |
François Revol <revol@free.fr> |
Add debug output. Implement connect/teardown. Added a workaround for BONE wanting to keep locked pages around when connect() fails (TCP teardown-> "trying to delete area in use!"). But doesn't seem to wait long enough. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20991 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
771c6b93 |
|
02-May-2007 |
François Revol <revol@free.fr> |
Locking for Haiku & R5. Init stuff (driver_settings, not finished). open/free(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20988 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e96eef09 |
|
01-May-2007 |
François Revol <revol@free.fr> |
Find the device and point the cookie to it on open(). Comment. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20964 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4d1cc41e |
|
01-May-2007 |
François Revol <revol@free.fr> |
skeleton for an fmap driver (IMAGE.BE). Start of an Network Block Device driver. NBD server python script I foundon the net for testing. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20963 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f3814567402774e6d92af11d4e40bcbc3b1cb4dd |
|
31-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Fix errors when building with DEBUG=2 Fixes #8306. Please define DEBUG in UserBuildConfig or Jamfiles if needed.
|
#
4e159473a930a1e3b635fb8aa79d824512a0ea22 |
|
09-May-2013 |
Jérôme Duval <jerome.duval@gmail.com> |
nbd: fixes 64 bit warnings
|
#
eb5f36397841abfc740031fde56ca5e4dee9fdd3 |
|
12-Feb-2012 |
Jerome Duval <jerome.duval@gmail.com> |
Fixes some occurrences of 'variable set but not used', disables Werror for problematic items.
|
#
2b07b8e0f1a7f1e76f31db24a21a42cbb01d7b9c |
|
28-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
11902c74d837b3ac61a278a6ccc80b439949cbdc |
|
28-Aug-2007 |
François Revol <revol@free.fr> |
Fix warnings git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22096 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0f609eb2902eb8d945af61802e6f3d3de68cda5b |
|
02-Jun-2007 |
François Revol <revol@free.fr> |
Fix some warnings. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21301 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ec8bd525cab17e09a6c6bf19816c2e4ff0ae6849 |
|
04-May-2007 |
François Revol <revol@free.fr> |
Add api_version. Moved #define DEBUG after the lock.h include, as it wants to find lots of header I'm too lazy to track. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21019 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
835ec57dc2a6d84b2de5c3811cd025b7c7b30c51 |
|
03-May-2007 |
François Revol <revol@free.fr> |
Fix building in Haiku git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21005 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ff517f433e52cb96b35c0a4c0fa11bdf3f6b18f0 |
|
03-May-2007 |
François Revol <revol@free.fr> |
Only publish configured devices. Implemented write(). Not sure it works as it KDLs here on shutdown :^) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21004 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7f66887bc339dfb4ba56e116c5c2e41d20d6ba37 |
|
03-May-2007 |
François Revol <revol@free.fr> |
(not working) kludge to allow mountign with a single connection in BeOS (mount open()/close() twice). Implement correct settings. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20995 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a0062874c5b5246a8b989b48b0603ec467c94f7d |
|
03-May-2007 |
François Revol <revol@free.fr> |
512 as block size. Typo. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20993 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3ca76df52ed76b213fd70c97612e3b93aae62a07 |
|
03-May-2007 |
François Revol <revol@free.fr> |
Implemented request funcs. Done read(). It's working \o/ git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20992 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
637cbfeeefd5633e5e2906c73e50657561605730 |
|
02-May-2007 |
François Revol <revol@free.fr> |
Add debug output. Implement connect/teardown. Added a workaround for BONE wanting to keep locked pages around when connect() fails (TCP teardown-> "trying to delete area in use!"). But doesn't seem to wait long enough. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20991 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
771c6b9355a78129a5f0532a318c62889d978153 |
|
02-May-2007 |
François Revol <revol@free.fr> |
Locking for Haiku & R5. Init stuff (driver_settings, not finished). open/free(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20988 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e96eef09e4960c7435394ac1f5f623c4e7c31e75 |
|
01-May-2007 |
François Revol <revol@free.fr> |
Find the device and point the cookie to it on open(). Comment. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20964 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4d1cc41eb3a998c0661334fa5c4a3baa4ae5461f |
|
01-May-2007 |
François Revol <revol@free.fr> |
skeleton for an fmap driver (IMAGE.BE). Start of an Network Block Device driver. NBD server python script I foundon the net for testing. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20963 a95241bf-73f2-0310-859d-f6bbb57e9c96
|