def split_storage(path, default='<STR_LIT>'):
path = norm_remote_path(path)<EOL>for provider in KNOWN_PROVIDERS:<EOL><INDENT>if path.startswith(provider + '<STR_LIT:/>'):<EOL><INDENT>if six.PY3:<EOL><INDENT>return path.split('<STR_LIT:/>', maxsplit=<NUM_LIT:1>)<EOL><DEDENT>else:<EOL><INDENT>return path.split('<STR_LIT:/>', <NUM_LIT:1>)<EOL><DEDENT><DEDENT><DEDENT>return (default, path)<EOL>
Extract storage name from file path.

    If a path begins with a known storage provider the name is removed
    from the path. Otherwise the `default` storage provider is returned
    and the path is not modified.