mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27:49 +00:00
kodi: filesystem: Reduce SMB chunksize to 64K
This commit is contained in:
parent
a9feeb705f
commit
74fd89d8f4
@ -0,0 +1,26 @@
|
||||
From 5c47c8c3c19faa9a9c5d754d0618b08706630fe7 Mon Sep 17 00:00:00 2001
|
||||
From: MilhouseVH <milhouseVH.github@nmacleod.com>
|
||||
Date: Tue, 30 Jan 2018 05:07:26 +0000
|
||||
Subject: [PATCH] filesystem: Reduce chunksize to 64K
|
||||
|
||||
See: https://forum.kodi.tv/showthread.php?tid=298461&pid=2697818#pid2697818
|
||||
---
|
||||
xbmc/filesystem/SMBFile.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/xbmc/filesystem/SMBFile.h b/xbmc/filesystem/SMBFile.h
|
||||
index 39fb35e..75db1fe 100644
|
||||
--- a/xbmc/filesystem/SMBFile.h
|
||||
+++ b/xbmc/filesystem/SMBFile.h
|
||||
@@ -89,7 +89,7 @@ public:
|
||||
bool OpenForWrite(const CURL& url, bool bOverWrite = false) override;
|
||||
bool Delete(const CURL& url) override;
|
||||
bool Rename(const CURL& url, const CURL& urlnew) override;
|
||||
- int GetChunkSize() override { return 2048*1024; }
|
||||
+ int GetChunkSize() override { return 64*1024; }
|
||||
int IoControl(EIoControl request, void* param) override;
|
||||
|
||||
protected:
|
||||
--
|
||||
2.14.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user