mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-31 13:48:25 +00:00
Kernel/FileSystem: Rename logical_block_size -> device_block_size
This never was a logical block size, it always was a device specific block size. Ideally the block size would change in accordance to whatever the driver wants to use, but that is a change for the future. For now, let's get rid of this confusing naming.
This commit is contained in:
committed by
Jelle Raaijmakers
parent
bf1610d378
commit
d1e6e6110d
@@ -17,7 +17,7 @@ public:
|
||||
|
||||
virtual ~BlockBasedFileSystem() override;
|
||||
|
||||
u64 logical_block_size() const { return m_logical_block_size; }
|
||||
u64 device_block_size() const { return m_device_block_size; }
|
||||
|
||||
virtual void flush_writes() override;
|
||||
void flush_writes_impl();
|
||||
@@ -39,7 +39,7 @@ protected:
|
||||
ErrorOr<void> write_block(BlockIndex, UserOrKernelBuffer const&, size_t count, u64 offset = 0, bool allow_cache = true);
|
||||
ErrorOr<void> write_blocks(BlockIndex, unsigned count, UserOrKernelBuffer const&, bool allow_cache = true);
|
||||
|
||||
u64 m_logical_block_size { 512 };
|
||||
u64 m_device_block_size { 512 };
|
||||
|
||||
void remove_disk_cache_before_last_unmount();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user